Skip to content

Instantly share code, notes, and snippets.

@Saigesp

Saigesp/ssh.md

Created Nov 3, 2019
Embed
What would you like to do?
SSH useful commands

SSH Useful commands

Copy file from server with ssh key and different port

scp -i ~/.ssh/id_rsa.pub -P <port> <user>@<server>:/path/to/remoto/file /path/to/local/output/folder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.