This post is from a low-reputation account and contains an unverified outbound link. Be cautious before clicking external links.
Words
25
Reading
1 min
Listen
Play
3y
I use the ~/.ssh/config file for these kind of configurations. You can configure a lot more options on the ssh connection that way. See for example https://linuxize.com/post/using-the-ssh-config-file/
RE: Use DNS Not IPs