Twitter iPhone pliant OnePlus 11 PS5 Disney+ Orange Livebox Windows 11

linux mint scp marche pas

12 réponses
Avatar
Une Bévue
sur un ordi sous linux :
$ uname -a
Linux d620 3.13.0-37-generic #64-Ubuntu SMP Mon Sep 22 21:30:01 UTC 2014
i686 i686 i686 GNU/Linux

je parviens très bien à me logger en ssh à un autre ordi (vostro) sous
linux :
┬─[yt@d620:~]─[09:24:12]


╰─>$ ssh vostro.local
The authenticity of host '192.168.0.15 (192.168.0.15)' can't be established.
ECDSA key fingerprint is 8a:7b:e7:51:e7:d4:6a:e4:8b:68:de:76:6a:a7:fa:70.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.0.15' (ECDSA) to the list of known
hosts.
Welcome to Linux Mint 17 Qiana (GNU/Linux 3.13.0-24-generic i686)

Welcome to Linux Mint
* Documentation: http://www.linuxmint.com
Last login: Tue May 26 17:32:03 2015 from localhost
Using /home/yt/.rvm/gems/ruby-2.1.2
Welcome to fish, the friendly interactive shell
Type help for instructions on how to use fish
┬─[yt@vostro:~]─[09:24:35]


╰─>$ exit

Connection to 192.168.0.15 closed.


MAIS toute tentative (de "d620" vers "vostro" ou l'inverse) de faire un
scp ne génère pas d'erreur au terminal MAIS ne fait rien :
$ scp Téléchargements/menumaker-0.99.7.tar.gz vostro.local
$ ssh vostro.local 'lal Téléchargements'
Using /home/yt/.rvm/gems/ruby-2.1.2
total 933568
drwxr-xr-x 2 yt yt 4096 juin 1 21:00 .
drwxr-xr-x 45 yt yt 4096 juin 1 20:05 ..
-rw-r----- 1 yt yt 36227 mars 11 17:27 Example.odt
-rw-r----- 1 yt yt 1771241 mars 11 17:28 ownCloudUserManual.pdf
-rw-r----- 1 yt yt 954132480 avril 1 12:13 tails-i386-1.3.2.iso
-rw-r----- 1 yt yt 801 avril 1 10:48 tails-i386-1.3.2.iso.sig

sur les deux bécannes client ET serveur sont installés.

Je suppose qu'il y a une config à faire ?

2 réponses

1 2
Avatar
Une Bévue
On 03/06/2015 21:10, Nicolas George wrote:
Dans le doute, suppose que j'ai raison et que tu as tort :-Þ



Le doute bénéficie toujours à l'accusé ?
Avatar
Nicolas Richard
Une Bévue writes:

On 03/06/2015 13:14, Nicolas George wrote:
ls -l vostro.local



je ne pige pas, c'est pas plutôt :
ssh vostro.local 'ls -l'



La suggestion était de vérifier si le fichier n'avait pas été copié
localement des fois par hasard. Je suspecte que c'est lié au fait que la
commande /scp/ montrée dans la question initiale ne correspondait pas à
la réalité.

HTH,

--
Nico, parce que SIWOTI.
1 2