Skip to content

Instantly share code, notes, and snippets.

View UkiDelly's full-sized avatar
🤩
Working

Delly UkiDelly

🤩
Working
View GitHub Profile
1. Download Git Bash (only if on Windows)
2. Go to your users folder and open the .ssh folder. Then open Git Bash / Terminal there and generate a key pair:
ssh-keygen -m PEM -t rsa
3. Copy the key to your server:
ssh-copy-id -i <keyname> <user>@<host>
5. Login to your Ubuntu server via SSH:
ssh -i <keyname> <user>@<host>