This file contains hidden or 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
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/ |