ssh Problem
Bee Thomas
thomasbee at web.de
Sun Dec 16 20:25:25 CET 2007
Am 16.12.2007 um 19:59 schrieb Maximilian Wilhelm:
> Am Sunday, den 16 December hub Bee Thomas folgendes in die Tasten:
>
> Moin!
>
>
> Willst Du, dass er sich mit dem Key meldet?
Ich wollte dass er sich (nur) mit dem key anmeldet.
Ich habe einen key generiert:
ssh-keygen -b 2048 -t rsa
Den public.key habe ich dann rüber auf die Linux-Kiste kopiert:
cp id_rsa.pub /Volumes/USB2GB/authorized_keys (mit Hilfe eines USB-
Sticks)
und dort unter home/tb/.ssh/
gespeichert.
>> debug1: Authentications that can continue:
>> debug1: Next authentication method: keyboard-interactive
>> debug1: Authentications that can continue:
>> debug1: No more authentication methods to try.
>> Permission denied ().
>
>
>
>> # See the sshd(8) manpage for details
> [...]
>> # Change to yes to enable challenge-response passwords (beware issues
>> with
>> # some PAM modules and threads)
>> ChallengeResponseAuthentication no
>>
>> # Change to no to disable tunnelled clear text passwords
>> PasswordAuthentication no
> ~~
>
>> Was fehlt noch?
>
> Hast du nen extra Key angelegt oder erwartest Du nen Passwort Prompt?
>
> Mal in die auth.log der Linux-Kiste geguckt?
>
>
Da bitte:
Dec 16 18:01:59 mobil sshd[4946]: Received signal 15; terminating.
Dec 16 18:01:59 mobil sshd[5010]: Server listening on :: port 22.
Dec 16 18:01:59 mobil sshd[5010]: error: Bind to port 22 on 0.0.0.0
failed: Address already in use.
Dec 16 18:02:05 mobil sshd[5015]: Connection from 192.168.2.20 port
49529
Dec 16 18:02:18 mobil sshd[5017]: Connection from 192.168.2.20 port
49530
Dec 16 18:09:01 mobil CRON[5101]: (pam_unix) session opened for user
root by (uid=0)
Dec 16 18:09:01 mobil CRON[5101]: (pam_unix) session closed for user
root
Dec 16 18:10:00 mobil sshd[5010]: Received signal 15; terminating.
Dec 16 18:10:00 mobil sshd[5117]: Server listening on :: port 22.
Dec 16 18:10:00 mobil sshd[5117]: error: Bind to port 22 on 0.0.0.0
failed: Address already in use.
Dec 16 18:11:05 mobil sshd[5140]: Connection from 192.168.2.20 port
49532
Dec 16 18:11:09 mobil sshd[5142]: Connection from 192.168.2.20 port
49533
Dec 16 18:11:15 mobil sshd[5117]: Received signal 15; terminating.
Dec 16 18:11:15 mobil sshd[5151]: Server listening on :: port 22.
Dec 16 18:11:15 mobil sshd[5151]: error: Bind to port 22 on 0.0.0.0
failed: Address already in use.
Dec 16 18:11:20 mobil sshd[5156]: Connection from 192.168.2.20 port
49534
Muss ich den Port umstellen?
Grüße
Thomas
More information about the Linux
mailing list