Skip to content

Instantly share code, notes, and snippets.

View adityak714's full-sized avatar
🥷

Aditya Khadkikar adityak714

🥷
View GitHub Profile
@adityak714
adityak714 / config
Created April 15, 2025 17:21
Quickly SSH into servers for frequent sign-ins
Host my-vm
HostName 129.9.9.9.9 # replace with the IP of your server, or the address
User ubuntu # the user to sign in to
IdentityFile ~/.ssh/my-vm.key # if a key is needed to authenticate
# Make replicas of the above block if more VMs to configure
# The file should be named as "config" (just that), and stored in ~/.ssh/ directory.
# Learned from: https://linuxize.com/post/using-the-ssh-config-file/