ssh Problem

Bee Thomas thomasbee at web.de
Sat Dec 22 18:00:58 CET 2007


Am 22.12.2007 um 16:21 schrieb Florian Lohoff:

> On Sat, Dec 22, 2007 at 04:09:00PM +0100, Bee Thomas wrote:
>
>> debug2: service_accept: ssh-userauth
>> debug1: SSH2_MSG_SERVICE_ACCEPT received
>> debug2: key: /Users/tb/.ssh/id_rsa (0x302d10)
>> debug1: Authentications that can continue: hostbased
>> debug3: start over, passed a different list hostbased
>> debug3: preferred publickey,keyboard-interactive
>> debug1: No more authentication methods to try.
>> Permission denied (hostbased).
>
> Das "hostbased" finde ich auch interessant - Also wuerde da  
> irgendwelche
> host keys nicht (mehr) matchen oder so ...
>

Also ich habe jetzt mit einem einfachen


ssh-keygen (vorher hatte ich es mit ssh-keygen -b 2048 -t rsa versucht)

einen id_rsa und einen id_rsa.pub erzeugt.

Meine alte known_hosts gelöscht.

Dann habe ich die Datei id_rsa.pub zum Linux-Latop kopiert und mit

cat /home/tb/id_rsa.pub >> .ssh/authorized_keys

die neue authorized_keys-Datei erzeugt.

Dann habe ich noch

cat /home/tb/id_rsa.pub >> /etc/ssh_known_hosts

gemacht und trotzdem kommt wieder der Hinweis:

debug3: Not a RSA1 key file /Users/tb/.ssh/id_rsa.
debug2: key_type_from_name: unknown key type '-----BEGIN'
debug3: key_read: missing keytype
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace

Wo mache ich den Fehler?


Grüße

Thomas




More information about the Linux mailing list