Hard to Resolve: - "SCP copies files successfully, but files are not displayed on the local computer"

I want to upload a file from a server to a local Linux machine. I use the following command

scp -r username@remote:/path/to/folder /dest/local/path

The file is successfully transferred, but the file is not displayed in my local folder. What is wrong with me?

Thank.

+4
source share
2 answers

We cannot say “what's wrong with you” (your words), but there are a few things you can check:

  • Is this the folder you copied (or files)? Does the name begin with a dot ( .somefile)?
  • When you search for local files, do you use the file manager? Then you should try to update the view.
  • - , ?
  • : ls -al /dest/local/path?
  • /dest/local/path? - ?
  • : scp? , ? ?
  • , ? ?

: -v ( ), ?

+2

SCP , root. root SCP;

scp root@192.168.0.201:/usr/share/bob.txt root@localhost:/usr/share

.
, - .., .

, - IP- LOCALHOST - .

scp root@192.168.0.201:/usr/share/bob.txt root@192.168.0.202:/usr/share
0

Source: https://habr.com/ru/post/1537694/


All Articles