sam.vimes schreef op woensdag 20 juni 2007 @ 10:17:
Komt er na die laatste logregel
code:
1
| eniac.euronet.nl: Trying pubkey authentication with key file '/home/wesleys/.ssh/id_rsa' |
helemaal niks meer? Kun je het loglevel opkrikken zodat je ook nog ziet waarom de dsa- en de rsa-sleutel verworpen worden?
Erna komt helemaal niks meer, einde van de pastebin is ook het einde van mijn log.
Helaas kan ik via de package geen hogere debuglevel aangeven (of ik lees eroverheen).
Wat is de log als je ssh -v machine uitvoert? Ik denk dat je uit de verschillen tussen succes en mislukking wel bruikbare info kunt halen.
Tot zover niet echt.
Maar de beide logs (de bovenste is via de perl package, de onderste is via ssh -v):
a.host.nl: Reading configuration data /home/wesleys/.ssh/config
a.host.nl: Reading configuration data /etc/ssh_config
a.host.nl: Connecting to another.host.nl, port 22.
a.host.nl: Remote version string: SSH-2.0-OpenSSH_3.5p1 FreeBSD-20030924
a.host.nl: Remote protocol version 2.0, remote software version OpenSSH_3.5p1 FreeBSD-20030924
a.host.nl: Net::SSH::Perl Version 1.30, protocol version 2.0.
a.host.nl: No compat match: OpenSSH_3.5p1 FreeBSD-20030924.
a.host.nl: Connection established.
a.host.nl: Sent key-exchange init (KEXINIT), wait response.
a.host.nl: Algorithms, c->s: 3des-cbc hmac-sha1 none
a.host.nl: Algorithms, s->c: 3des-cbc hmac-sha1 none
a.host.nl: Entering Diffie-Hellman Group 1 key exchange.
a.host.nl: Sent DH public key, waiting for reply.
a.host.nl: Received host key, type 'ssh-dss'.
a.host.nl: Host 'another.host.nl' is known and matches the host key.
a.host.nl: Computing shared secret key.
a.host.nl: Verifying server signature.
a.host.nl: Waiting for NEWKEYS message.
a.host.nl: Enabling incoming encryption/MAC/compression.
a.host.nl: Send NEWKEYS, enable outgoing encryption/MAC/compression.
a.host.nl: Sending request for user-authentication service.
a.host.nl: Service accepted: ssh-userauth.
a.host.nl: Trying empty user-authentication request.
a.host.nl: Authentication methods that can continue: publickey,password,keyboard-interactive.
a.host.nl: Next method to try is publickey.
a.host.nl: Trying pubkey authentication with key file '/home/wesleys/.ssh/id_rsa'
OpenSSH_4.3p2 Debian-8ubuntu1, OpenSSL 0.9.8c 05 Sep 2006
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to another.host.nl [194.134.32.192] port 22.
debug1: Connection established.
debug1: identity file /home/wesleys/.ssh/identity type -1
debug1: identity file /home/wesleys/.ssh/id_rsa type 1
debug1: identity file /home/wesleys/.ssh/id_dsa type 2
debug1: Remote protocol version 2.0, remote software version OpenSSH_3.5p1 FreeBSD-20030924
debug1: match: OpenSSH_3.5p1 FreeBSD-20030924 pat OpenSSH_3.*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_4.3p2 Debian-8ubuntu1
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(1024<1024<8192) 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
debug1: Host 'another.host.nl' is known and matches the DSA host key.
debug1: Found key in /home/wesleys/.ssh/known_hosts2:1
DSA host key for IP address '194.134.xx.xxx' not in list of known hosts.
debug1: ssh_dss_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,keyboard-interactive
debug1: Next authentication method: publickey
debug1: Trying private key: /home/wesleys/.ssh/identity
debug1: Offering public key: /home/wesleys/.ssh/id_rsa
debug1: Server accepts key: pkalg ssh-rsa blen 277
debug1: read PEM private key done: type RSA
debug1: Authentication succeeded (publickey).
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
debug1: Sending environment.
debug1: Sending env LANG = en_US.UTF-8
[
Voor 16% gewijzigd door
Verwijderd op 20-06-2007 10:42
]