-
-
Save mattroz/59b73fab4d03be0de32d2b37175b77b3 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
To copy a file from B to A while logged into B: | |
`scp /path/to/file username@a:/path/to/destination` | |
To copy a file from B to A while logged into A: | |
`scp username@b:/path/to/file /path/to/destination` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
sudo rm /etc/ssh/ssh_host_* && sudo dpkg-reconfigure openssh-server
- reconfigure SSH in case of "Connection reset by ..."