New on Srapsware

How to scp a folder from remote to local?

How to scp a folder from remote to local?

To copy all from Local Location to Remote Location (Upload)

To copy all from Remote Location to Local Location (Download)

Custom Port where xxxx is custom port number


-r  Recursively copy all directories and Files
Always use full location from /, Get full location by pwd
This will work over only default port SSH 22
scp will replace all existing files
hostname will be hostname or IP address
if need custom port scp than use -P  Port Number with both command

Note: Some time custom port can be not work due to port not allowed on the firewall, so make sure that custom port is allowed on the firewall for incoming and outgoing connection

No Comments

Post A Comment

Excited? Let’s Talk

You’re Our First Priority. Rest all can wait.