How to download files from a remote Linux (Ubuntu) Server?

43,067

Solution 1

On Windows Os you can use WinSCP.

On Linux Os use command-line tool scp like this. From remote host to localhost

scp [email protected]:foobar.txt /some/local/directory

From localhost to remote host (you have to specifiy the absolute path)

scp foobar.txt [email protected]:/some/remote/directory 

Solution 2

That depends on your local OS.

If you have something Unix-like here as well, you can use

sftp
scp
rsync

If you have Windows, you can use WinSCP or pscp, which comes with PuTTY.

Share:
43,067

Related videos on Youtube

Admin
Author by

Admin

Updated on September 18, 2022

Comments

  • Admin
    Admin over 1 year

    How can I download files from a remote Linux Ubuntu server? I have access to this server, but I don't know a convenient way to download a file from there using SSH (PuTTy), for example.

    Any suggestions?

    • Admin
      Admin over 10 years
      Dude, PuTTy comes with psftp. On *nix servers use sftp.
  • SparkAndShine
    SparkAndShine over 4 years
    For amazon EC2, use scp -i key_file.pem [email protected]:/remote_dir/foobar.txt /local_dir/.