Skip to content

Instantly share code, notes, and snippets.

@abhitechno01
Created January 29, 2019 02:12
Show Gist options
  • Select an option

  • Save abhitechno01/a901b89cc5af90684861b148b8fb316a to your computer and use it in GitHub Desktop.

Select an option

Save abhitechno01/a901b89cc5af90684861b148b8fb316a to your computer and use it in GitHub Desktop.
secure shell, secure copy protocol commands
****************************************************
SCP Commands
****************************************************
From local host to remote host
scp -i <key_path> -r <dir_path> <user>@<remote_host>:<remote_dir>
From remote host to local host
scp -i <key_path> -r <user>@<remote_host>:<remote_dir> <local_dir>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment