Bonjour à tous,
et mes meilleurs voeux pour 2006 aux lecteurs de cette ML ;)
voici mon problème, je bute sur scp entre 2 machines newhp et proto
alors que le ping et le ssh entre ces 2 machines fonctionnent.
Les résultats sont dessous, merci pour votre aide.
Eric
[EMAIL PROTECTED]:~$ scp -v [EMAIL PROTECTED]:/home/eric/cle.pub.hp
[EMAIL PROTECTED]:/home/admin/
Executing: /usr/bin/ssh -v -x -o'ClearAllForwardings yes' -n -l eric
newhp scp -v /home/eric/cle.pub.hp '[EMAIL PROTECTED]:/home/admin/'
OpenSSH_4.1p1 Debian-7ubuntu4, OpenSSL 0.9.7g 11 Apr 2005
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to newhp [192.168.1.122] port 22.
debug1: Connection established.
debug1: identity file /home/eric/.ssh/identity type -1
debug1: identity file /home/eric/.ssh/id_rsa type -1
debug1: identity file /home/eric/.ssh/id_dsa type -1
debug1: Remote protocol version 2.0, remote software version
OpenSSH_4.1p1 Debian-7ubuntu4
debug1: match: OpenSSH_4.1p1 Debian-7ubuntu4 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_4.1p1 Debian-7ubuntu4
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 'newhp' is known and matches the RSA host key.
debug1: Found key in /home/eric/.ssh/known_hosts:6
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/eric/.ssh/identity
debug1: Trying private key: /home/eric/.ssh/id_rsa
debug1: Trying private key: /home/eric/.ssh/id_dsa
debug1: Next authentication method: password
[EMAIL PROTECTED]'s password:
debug1: Authentication succeeded (password).
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
debug1: Requesting authentication agent forwarding.
debug1: Sending environment.
debug1: Sending env LANG = fr_FR.UTF-8
debug1: Sending command: scp -v /home/eric/cle.pub.hp
[EMAIL PROTECTED]:/home/admin/
Executing: program /usr/bin/ssh host proto, user admin, command scp -v
-t /home/admin/
OpenSSH_4.1p1 Debian-7ubuntu4, OpenSSL 0.9.7g 11 Apr 2005
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to proto [192.168.1.31] port 22.
debug1: connect to address 192.168.1.31 port 22: No route to host
ssh: connect to host proto port 22: No route to host
debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
lost connection
debug1: channel 0: free: client-session, nchannels 1
debug1: Transferred: stdin 0, stdout 0, stderr 0 bytes in 3.1 seconds
debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 0.0
debug1: Exit status 1
*****************************************le ping passe (est-ce un test
suffisant?)
[EMAIL PROTECTED]:~$ ping proto
PING proto (192.168.1.31) 56(84) bytes of data.
64 bytes from proto (192.168.1.31): icmp_seq=1 ttl=64 time=5.94 ms
64 bytes from proto (192.168.1.31): icmp_seq=2 ttl=64 time=2.93 ms
--- proto ping statistics ---
3 packets transmitted, 2 received, 33% packet loss, time 2001ms
rtt min/avg/max/mdev = 2.935/4.437/5.940/1.503 ms
[EMAIL PROTECTED]:~$
***************************************le ssh fonctionne
[EMAIL PROTECTED]:~$ ssh [EMAIL PROTECTED]
Password:
Linux proto 2.6.8-2-386 #1 Tue Aug 16 12:46:35 UTC 2005 i686 GNU/Linux
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Thu Dec 29 19:22:44 2005 from newhp
[EMAIL PROTECTED]:~$ logout
Connection to proto closed.
[EMAIL PROTECTED]:~$
Linux-Azur : http://www.linux-azur.org
Désinscriptions: http://www.linux-azur.org/liste.php3
**** Pas de message au format HTML, SVP ****