Skip to content

Instantly share code, notes, and snippets.

@musleh0001
Created June 8, 2022 07:09
Show Gist options
  • Save musleh0001/47ed5f39972076228cfa00ebe64c793f to your computer and use it in GitHub Desktop.
Save musleh0001/47ed5f39972076228cfa00ebe64c793f to your computer and use it in GitHub Desktop.
SSH Tutorial
# 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