← Back to team overview

sslug-teknik team mailing list archive

Re: ssh fra A til B uden password

 

jeg har nu lavet lidt debugging og ssh sotware opdatering og her er hvad
jeg får fra de 2 servere (IP'er og Navne ændret). først den som ikke
virker og så den som virker:


OpenSSH_3.5p1, SSH protocols 1.5/2.0, OpenSSL 0x0090605f
debug1: Reading configuration data /usr/local/etc/ssh_config
debug1: Rhosts Authentication disabled, originating port will not be
trusted.
debug1: ssh_connect: needpriv 0
debug1: Connecting to server1 [81.19.xxx.xxx] port 22.
debug1: Connection established.
debug1: identity file /home/kim/.ssh/identity type 0
debug1: Remote protocol version 1.99, remote software version
OpenSSH_3.4p1
debug1: match: OpenSSH_3.4p1 pat OpenSSH*
debug1: Local version string SSH-1.5-OpenSSH_3.5p1
debug1: Waiting for server public key.
debug1: Received server public key (768 bits) and host key (1024 bits).
debug1: Host 'server1' is known and matches the RSA1 host key.
debug1: Found key in /home/kim/.ssh/known_hosts:6
debug1: Encryption type: 3des
debug1: Sent encrypted session key.
debug1: cipher_init: set keylen (16 -> 32)
debug1: cipher_init: set keylen (16 -> 32)
debug1: Installing crc compensation attack detector.
debug1: Received encrypted confirmation.
debug1: Trying RSA authentication with key '/home/kim/.ssh/identity'
debug1: Server refused our key.
debug1: Doing challenge response authentication.
debug1: No challenge.
debug1: Doing password authentication.
root@server1's password:

og den anden server som virker:
 
OpenSSH_3.5p1, SSH protocols 1.5/2.0, OpenSSL 0x0090605f
debug1: Reading configuration data /usr/local/etc/ssh_config
debug1: Rhosts Authentication disabled, originating port will not be
trusted.
debug1: ssh_connect: needpriv 0
debug1: Connecting to server2 [81.19.xxx.xxx] port 22.
debug1: Connection established.
debug1: identity file /home/kim/.ssh/identity type 0
debug1: Remote protocol version 1.99, remote software version
OpenSSH_3.4p1
debug1: match: OpenSSH_3.4p1 pat OpenSSH*
debug1: Local version string SSH-1.5-OpenSSH_3.5p1
debug1: Waiting for server public key.
debug1: Received server public key (768 bits) and host key (1024 bits).
debug1: Host 'server2' is known and matches the RSA1 host key.
debug1: Found key in /home/kim/.ssh/known_hosts:7
debug1: Encryption type: 3des
debug1: Sent encrypted session key.
debug1: cipher_init: set keylen (16 -> 32)
debug1: cipher_init: set keylen (16 -> 32)
debug1: Installing crc compensation attack detector.
debug1: Received encrypted confirmation.
debug1: Trying RSA authentication with key '/home/kim/.ssh/identity'
debug1: Received RSA challenge from server.
debug1: Sending response to host key RSA challenge.
debug1: Remote: RSA authentication accepted.
debug1: RSA authentication accepted by server.
debug1: Sending command: ls
debug1: Entering interactive session.
debug1: Transferred: stdin 0, stdout 0, stderr 0 bytes in 0.0 seconds
debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 0.0
debug1: Exit status 0


nogen der kan se noget ud fra dette som burde kunne være forskelligt?
det er samme key jeg har smidt på begge servere. 

-- 
Kim Schulz - Freelance Development | Pilfering Treasury property is
Email      : kim @ schulz.dk       | paticularly dangerous: big thieves
Tlf        : 51904262              | are ruthless in punishing little


Follow ups

References