E
E
ericcartman2018-10-05 08:39:18
SSH
ericcartman, 2018-10-05 08:39:18

How to SSH copy a file from server to server?

If we are logged into a server via SSH, then we can manipulate files (and not only) on it. For example, copy them with the command

cp

But what about when we need to copy files from server to server? (we are not currently sitting on any of these servers)

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Artem, 2018-10-05
@ericcartman

SCP click

S
Sergey, 2018-10-05
@feanor7

scp myfile.txt [email protected]:/remote/folder/

C
CityCat4, 2018-10-05
@CityCat4

man sftp

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question