Linux. How do I download directory using SFTP?

0
=
0.5
+
0
No specific Bitcoin Bounty has been announced by author. Still, anyone could send Bitcoin Tips to those who provide a good answer.
0

I have two Linux servers(Ubuntu 12.0) and I need to download directory with some files from server number 2 to server number 1 using SFTP(SSH connection).

At this point I put public key from the server number 1 to /home/username/.ssh/authorized_keys on server number 2 but I don't know what utility I need to use.

Thanks.

1 Answer

1
=
1
=
$0.5
1 tip with total amount of 2 mBTC($0.5 USD) have been sent by support_man

Hi.

You have the several ways;

1. Use MC(Midnight Commander)

You can install it using this string:

`sudo apt-get install mc`
  • Click 'Right->SFTP link'

  • Enter data from server number 2, connect, find your directory and press F5 enter image description here

2. Using SCP utility:

scp -rp user@host:/directory/from/remote_host /directory/on/your/current/host
SEND BITCOIN TIPS
User rating:

Good answer))

0

Too many commands? Learning new syntax?

FavScripts.com is a free tool to save your favorite scripts and commands, then quickly find and copy-paste your commands with just few clicks.

Boost your productivity with FavScripts.com!

Post Answer