S
S
Shandy2021-02-21 13:00:12
ubuntu
Shandy, 2021-02-21 13:00:12

How to copy folder from ubuntu server?

Used a free period on Google Cloud (Compute Engine), now I need to pull my files out of there, but I don't know how. Connecting via putty failed, starting the ftp server (vsftpd) too. I hope you can help, I really need it.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry, 2021-02-21
@q2digger

The main question is why I can't access the server via ssh . Solve this problem and you will be able to get your files.
Do you have a firewall? Is the SSH server up on the virtual machine at all?

J
Jordan_Belforts, 2021-02-21
@Jordan_Belforts

Copy the file "file.txt" from the remote server to the local computer.
scp [email protected]:file.txt /some/local/directory
If a certificate is used to access the server, then you need to add the -i switch and specify the path to the certificate
scp -i path_to_cert [email protected]:file.txt /some /local/directory

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question