par YT-1300 » 02 Avr 2003 17:38
<!-- BBCode Start --><B>ssh -v : </B><!-- BBCode End -->
<BR>
<BR>bash$ ssh -v 192.168.0.4
<BR>OpenSSH_3.4p1, SSH protocols 1.5/2.0, OpenSSL 0x0090605f
<BR>debug1: Reading configuration data /home/toto/.ssh/config
<BR>debug1: Rhosts Authentication disabled, originating port will not be trusted.
<BR>debug1: ssh_connect: needpriv 0
<BR>debug1: Connecting to 192.168.0.4 [192.168.0.4] port 22.
<BR>debug1: Connection established.
<BR>debug1: identity file /home/toto/.ssh/id_rsa type 1
<BR>debug1: Remote protocol version 1.99, remote software version OpenSSH_2.9p2
<BR>debug1: match: OpenSSH_2.9p2 pat OpenSSH_2.*,OpenSSH_3.0*,OpenSSH_3.1*
<BR>Enabling compatibility mode for protocol 2.0
<BR>debug1: Local version string SSH-2.0-OpenSSH_3.4p1
<BR>debug1: SSH2_MSG_KEXINIT sent
<BR>debug1: SSH2_MSG_KEXINIT received
<BR>debug1: kex: server->client aes128-cbc hmac-md5 none
<BR>debug1: kex: client->server aes128-cbc hmac-md5 none
<BR>debug1: SSH2_MSG_KEX_DH_GEX_REQUEST sent
<BR>debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
<BR>debug1: dh_gen_key: priv key bits set: 120/256
<BR>debug1: bits set: 1018/2049
<BR>debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
<BR>debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
<BR>debug1: Host '192.168.0.4' is known and matches the RSA host key.
<BR>debug1: Found key in /home/toto/.ssh/known_hosts:1
<BR>debug1: bits set: 975/2049
<BR>debug1: ssh_rsa_verify: signature correct
<BR>debug1: kex_derive_keys
<BR>debug1: newkeys: mode 1
<BR>debug1: SSH2_MSG_NEWKEYS sent
<BR>debug1: waiting for SSH2_MSG_NEWKEYS
<BR>debug1: newkeys: mode 0
<BR>debug1: SSH2_MSG_NEWKEYS received
<BR>debug1: done: ssh_kex2.
<BR>debug1: send SSH2_MSG_SERVICE_REQUEST
<BR>debug1: service_accept: ssh-userauth
<BR>debug1: got SSH2_MSG_SERVICE_ACCEPT
<BR>debug1: authentications that can continue: publickey,password,keyboard-interacti
<BR>ve
<BR>debug1: next auth method to try is publickey
<BR>debug1: try pubkey: /home/toto/.ssh/id_rsa
<BR>debug1: authentications that can continue: publickey,password,keyboard-interacti
<BR>ve
<BR>debug1: next auth method to try is keyboard-interactive
<BR>debug1: authentications that can continue: publickey,password,keyboard-interacti
<BR>ve
<BR>debug1: next auth method to try is password
<BR>debug1: authentications that can continue: publickey,password,keyboard-interacti
<BR>ve
<BR>Permission denied, please try again.
<BR>debug1: authentications that can continue: publickey,password,keyboard-interacti
<BR>ve
<BR>Permission denied, please try again.
<BR>debug1: authentications that can continue: publickey,password,keyboard-interacti
<BR>ve
<BR>debug1: no more auth methods to try
<BR>Permission denied (publickey,password,keyboard-interactive).
<BR>debug1: Calling cleanup 0x8061048(0x0)
<BR>
<BR>
<BR>
<BR>
<BR><!-- BBCode Start --><B> ssh_config : </B><!-- BBCode End -->
<BR>
<BR># $OpenBSD: ssh_config,v 1.15 2002/06/20 20:03:34 stevesk Exp $
<BR>
<BR># This is the ssh client system-wide configuration file. See
<BR># ssh_config(5) for more information. This file provides defaults for
<BR># users, and the values can be changed in per-user configuration files
<BR># or on the command line.
<BR>
<BR># Configuration data is parsed as follows:
<BR># 1. command line options
<BR># 2. user-specific file
<BR># 3. system-wide file
<BR># Any configuration value is only changed the first time it is set.
<BR># Thus, host-specific definitions should be at the beginning of the
<BR># configuration file, and defaults at the end.
<BR>
<BR># Site-wide defaults for various options
<BR>
<BR># Host *
<BR># ForwardAgent no
<BR># ForwardX11 no
<BR># RhostsAuthentication no
<BR># RhostsRSAAuthentication no
<BR># RSAAuthentication yes
<BR> PasswordAuthentication yes
<BR># BatchMode no
<BR># CheckHostIP yes
<BR># StrictHostKeyChecking ask
<BR># IdentityFile ~/.ssh/identity
<BR> IdentityFile ~/.ssh/id_rsa
<BR># IdentityFile ~/.ssh/id_dsa
<BR># Port 22
<BR> Protocol 2,1
<BR># Cipher 3des
<BR># Ciphers aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes2
<BR>56-cbc
<BR># EscapeChar ~
<BR><BR><BR><font size=-2></font>