Das klappt irgendwie nicht so recht.
Kann es ein Problem sein dass ich ja lokal scp bzw ssh mit einem anderen Benutzer und hostnamen starte als der Accountname auf dem remoterechner? Welche ID muss dann auf dem Remoterechner in authorized_keys2 stehen?
--------------------------------------------------
bash-2.05b$ ssh
U300246AA@www.test.de -v
OpenSSH_3.7.1p2, SSH protocols 1.5/2.0, OpenSSL 0.9.6i Feb 19 2003
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Connecting to
www.test.de [194.97.107.171] port 22.
debug1: Connection established.
debug1: identity file /home/test/.ssh/identity type -1
debug1: identity file /home/test/.ssh/id_rsa type -1
debug1: identity file /home/test/.ssh/id_dsa type -1
debug1: Remote protocol version 1.99, remote software version OpenSSH_3.1p1
debug1: match: OpenSSH_3.1p1 pat OpenSSH_2.*,OpenSSH_3.0*,OpenSSH_3.1*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_3.7.1p2
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-cbc hmac-md5 none
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
The authenticity of host '
www.test.de (195.97.107.201)' can't be established.
RSA key fingerprint is 50:d1:e6:2a:36:43:c7:54:b5:98:65:f6:a0:99:c9:21.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'www.test.de,195.97.107.201' (RSA) to the list of known hosts.
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,password
debug1: Next authentication method: publickey
debug1: Trying private key: /home/test/.ssh/identity
debug1: Trying private key: /home/test/.ssh/id_rsa
debug1: Trying private key: /home/test/.ssh/id_dsa
debug1: Next authentication method: password
U3000246AA@www.test.de's password:
---------------------------------------------------------