-
-
Save rommmka/b8a37a98e021986d1448af956b0f5da0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# connect to SSH | |
ssh -o IdentitiesOnly=yes username@hostname -p NN | |
# transfer file via terminal | |
scp -i ~/.ssh/key_file -P NN -o IdentitiesOnly=yes /home/user/file username@hostname:/home/target/dir |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment