Created
June 8, 2022 07:09
-
-
Save musleh0001/47ed5f39972076228cfa00ebe64c793f to your computer and use it in GitHub Desktop.
SSH Tutorial
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
# Create ssh server | |
sudo apt install openssh-server | |
sudo ufw allow ssh | |
# Connect | |
ssh username@host --> give password | |
ssh-copy-id user@host | |
ssh user@host | |
# Move file | |
scp ~/path/test.txt user@host:~/path |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment