Contenu | Rechercher | Menus

Annonce

L'équipe des administrateurs et modérateurs du forum vous invite à prendre connaissance des nouvelles règles.
En cas de besoin, vous pouvez intervenir dans cette discussion.

Ubuntu 18.04 LTS
Ubuntu-fr propose des clés USB de Ubuntu et toutes ses « saveurs » ainsi qu'un magnifique t-shirt pour cette toute nouvelle version d'Ubuntu !

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#51 Le 15/05/2018, à 21:59

swake29

Re : Problème commande scp

Non je peux plus rien faire depuis le reboot, je n'est plus accés.

Hors ligne

#52 Le 15/05/2018, à 22:05

diesel83140

Re : Problème commande scp

Bon, je vais me coucher.

A plus.

Amicalement.

Jean-Marie


Je déteste qu'on cherche à me faire passer pour un con, j'y arrive déjà très bien tout seul.
Le mort, il sait pas qu'il est mort ; C'est pour les autres que c'est dur.................... Pour les cons, c'est pareil.

Hors ligne

#53 Le 15/05/2018, à 23:45

swake29

Re : Problème commande scp

Je crois que je suis bon pour tous reprendre. Comment suite à un reboot peu on perdre l'accé en SSH?

Hors ligne

#54 Le 16/05/2018, à 20:58

diesel83140

Re : Problème commande scp

Parce que on s'est trompé dans un paramètre de la configuration du serveur (il y a d'autres possibilités, mais c'est la plus fréquente).

Et quand tu dis que tu as rebooté, tu as rebooté quoi ?. L'imac, un serveur, les deux ?

Amicalement.

Jean-Marie

Dernière modification par diesel83140 (Le 17/05/2018, à 08:39)


Je déteste qu'on cherche à me faire passer pour un con, j'y arrive déjà très bien tout seul.
Le mort, il sait pas qu'il est mort ; C'est pour les autres que c'est dur.................... Pour les cons, c'est pareil.

Hors ligne

#55 Le 18/05/2018, à 19:29

swake29

Re : Problème commande scp

J'ai rebooter les servers. Tous est rentré dans l'ordre je peu m'y connecter à nouveau.

Ce qui suit peu vous aider? J'avoue ne pas tout comprendre.

iMac-de-Franck:~ franck$ scp -v franck@192.168.88.98:/home/franck/facture.pdf franck@192.168.88.76:/home/franck
Executing: /usr/bin/ssh -x -oClearAllForwardings=yes -n -v -l franck -- 192.168.88.98 scp -v /home/franck/facture.pdf franck@192.168.88.76:/home/franck
OpenSSH_7.6p1, LibreSSL 2.6.2
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 48: Applying options for *
debug1: Connecting to 192.168.88.98 port 22.
debug1: Connection established.
debug1: key_load_public: No such file or directory
debug1: identity file /Users/franck/.ssh/id_rsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/franck/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/franck/.ssh/id_dsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/franck/.ssh/id_dsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/franck/.ssh/id_ecdsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/franck/.ssh/id_ecdsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/franck/.ssh/id_ed25519 type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/franck/.ssh/id_ed25519-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_7.6
debug1: Remote protocol version 2.0, remote software version OpenSSH_7.2p2 Ubuntu-4ubuntu2.4
debug1: match: OpenSSH_7.2p2 Ubuntu-4ubuntu2.4 pat OpenSSH* compat 0x04000000
debug1: Authenticating to 192.168.88.98:22 as 'franck'
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: algorithm: curve25519-sha256@libssh.org
debug1: kex: host key algorithm: ecdsa-sha2-nistp256
debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: Server host key: ecdsa-sha2-nistp256 SHA256:ebepvRcR5knO1+Zne550vPKdLsATCzyA78JxBhpaj+E
debug1: Host '192.168.88.98' is known and matches the ECDSA host key.
debug1: Found key in /Users/franck/.ssh/known_hosts:4
debug1: rekey after 134217728 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: rekey after 134217728 blocks
debug1: SSH2_MSG_EXT_INFO received
debug1: kex_input_ext_info: server-sig-algs=<rsa-sha2-256,rsa-sha2-512>
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,password
debug1: Next authentication method: publickey
debug1: Trying private key: /Users/franck/.ssh/id_rsa
debug1: Trying private key: /Users/franck/.ssh/id_dsa
debug1: Trying private key: /Users/franck/.ssh/id_ecdsa
debug1: Trying private key: /Users/franck/.ssh/id_ed25519
debug1: Next authentication method: password
franck@192.168.88.98's password: 
debug1: Authentication succeeded (password).
Authenticated to 192.168.88.98 ([192.168.88.98]:22).
debug1: channel 0: new [client-session]
debug1: Requesting no-more-sessions@openssh.com
debug1: Entering interactive session.
debug1: pledge: network
debug1: client_input_global_request: rtype hostkeys-00@openssh.com want_reply 0
debug1: Sending environment.
debug1: Sending env LANG = fr_FR.UTF-8
debug1: Sending command: scp -v /home/franck/facture.pdf franck@192.168.88.76:/home/franck
Executing: program /usr/bin/ssh host 192.168.88.76, user franck, command scp -v -t /home/franck
OpenSSH_7.2p2 Ubuntu-4ubuntu2.4, OpenSSL 1.0.2g  1 Mar 2016
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to 192.168.88.76 [192.168.88.76] port 22.
debug1: Connection established.
debug1: key_load_public: No such file or directory
debug1: identity file /home/franck/.ssh/id_rsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/franck/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/franck/.ssh/id_dsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/franck/.ssh/id_dsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/franck/.ssh/id_ecdsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/franck/.ssh/id_ecdsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/franck/.ssh/id_ed25519 type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/franck/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_7.2p2 Ubuntu-4ubuntu2.4
debug1: Remote protocol version 2.0, remote software version OpenSSH_7.2p2 Ubuntu-4ubuntu2.4
debug1: match: OpenSSH_7.2p2 Ubuntu-4ubuntu2.4 pat OpenSSH* compat 0x04000000
debug1: Authenticating to 192.168.88.76:22 as 'franck'
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: algorithm: curve25519-sha256@libssh.org
debug1: kex: host key algorithm: ecdsa-sha2-nistp256
debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: Server host key: ecdsa-sha2-nistp256 SHA256:fd4+DUJekgTziV2n7AIV/c1Fhi3bvffh2+eYqZgGE5E
debug1: Host '192.168.88.76' is known and matches the ECDSA host key.
debug1: Found key in /home/franck/.ssh/known_hosts:1
debug1: rekey after 134217728 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: rekey after 134217728 blocks
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_EXT_INFO received
debug1: kex_input_ext_info: server-sig-algs=<rsa-sha2-256,rsa-sha2-512>
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,password
debug1: Next authentication method: publickey
debug1: Trying private key: /home/franck/.ssh/id_rsa
debug1: Trying private key: /home/franck/.ssh/id_dsa
debug1: Trying private key: /home/franck/.ssh/id_ecdsa
debug1: Trying private key: /home/franck/.ssh/id_ed25519
debug1: Next authentication method: password
debug1: read_passphrase: can't open /dev/tty: No such device or address
debug1: Authentications that can continue: publickey,password
Permission denied, please try again.
debug1: read_passphrase: can't open /dev/tty: No such device or address
debug1: Authentications that can continue: publickey,password
Permission denied, please try again.
debug1: read_passphrase: can't open /dev/tty: No such device or address
debug1: Authentications that can continue: publickey,password
debug1: No more authentication methods to try.
Permission denied (publickey,password).
lost connection
debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
debug1: channel 0: free: client-session, nchannels 1
Transferred: sent 1944, received 6744 bytes, in 0.3 seconds
Bytes per second: sent 7562.6, received 26235.8
debug1: Exit status 1
iMac-de-Franck:~ franck$ 

Hors ligne