Answer the question
In order to leave comments, you need to log in
How to download archive via ssh?
I went via ssh,
went to the backup folder, I’m in the folder through ls, I
see
2 archives admin.2021-11-03_05-13-58.tar
download archives
enter scp admin.2021-11-04_05-13-58.tar /home/user
writes
usage: scp [-12346BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file]
[-l limit] [-o ssh_option] [-P port] [-S program]
[host1:]file1 ... [host2:]file2
Answer the question
In order to leave comments, you need to log in
scp needs to be run on your machine. For example, like this:
scp [email protected]:/path_to_file/admin.2021-11-03_05-13-58.tar target_path/admin.2021-11-03_05-13-58.tar
where user is the username,
server is the server, where are you downloading the file from.
/path_to_file/ - full path to the file
target_path - path on your machine where you download the file.
This will download the file from the remote machine to yours. If you specify the user and server in the second parameter, it will copy from your machine to the remote one.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question