ich weiss, habe es mittlerweile hier öfters gelesen, dass solch ein Problem bereits öfter da war, aber es hilft nichts, ich weiss nicht weiter. Folgendes:
Ich schaffe es einfach nicht, von einem 1&1 rooty mit SuSE 8.1 auf einen `standalone` ebenfalls mit SuSE 8.1 per scp ohne Passw.-Authentifizierung zuzugreifen. Von einem 1&1rooty mit SuSE 7.2 (SSH-1.5-OpenSSH_2.9.9p2) klappt das bislang wunderbar.
Folgendermaßen bin ich vorgegenagen:
1. ssh-keygen -t dsa (Passphrase allerdings leer und Kennwort auch (ich weiss-unsicher!!)
[ich habe das Ganze auch mit ssh-keygen -t rsa ausprobiert und mit authorized_keys, mit dem selben Ergebnis]
2. scp -pr id_dsa.pub abc@1xx.xxx.xxx.xxx:~
3. auf dem Zielrechner cat id_dsa.pub >> .ssh/authorized_keys2
Dann
ssh -v 1xx.xxx.xxx mit folgendem Ergebnis:
Code: Select all
OpenSSH_3.4p1, SSH protocols 1.5/2.0, OpenSSL 0x0090607f
16535: debug1: Reading configuration data /etc/ssh/ssh_config
16535: debug1: Applying options for *
16535: debug1: Rhosts Authentication disabled, originating port will not be trusted.
16535: debug1: ssh_connect: needpriv 0
16535: debug1: Connecting to 1xx.xxx.xxx.xxx [1xx.xxx.xxx.xxx] port 22.
16535: debug1: Connection established.
16535: debug1: identity file /home/abc/.ssh/identity type -1
16535: debug1: identity file /home/abc/.ssh/id_rsa type -1
16535: debug1: identity file /home/abc/.ssh/id_dsa type 2
16535: debug1: Remote protocol version 1.99, remote software version OpenSSH_3.4p1
16535: debug1: match: OpenSSH_3.4p1 pat OpenSSH*
16535: debug1: Local version string SSH-1.5-OpenSSH_3.4p1
16535: debug1: Waiting for server public key.
16535: debug1: Received server public key (768 bits) and host key (1024 bits).
16535: debug1: Host '1xx.xxx.xxx.xxx' is known and matches the RSA1 host key.
16535: debug1: Found key in /home/abc/.ssh/known_hosts:3
16535: debug1: Encryption type: 3des
16535: debug1: Sent encrypted session key.
16535: debug1: cipher_init: set keylen (16 -> 32)
16535: debug1: cipher_init: set keylen (16 -> 32)
16535: debug1: Installing crc compensation attack detector.
16535: debug1: Received encrypted confirmation.
16535: debug1: Doing password authentication.
abc@1xx.xxx.xxx.xxx`s password:
Hat vielleicht von Euch jemand einen Rat?
Danke,
Mark