š» Software
User specific /etc/hosts files?
Fresh5 days ago
Mar 15, 202611997 viewsConfidence Score0%
0%
Problem
Is it possible to have a user specific hosts file, or some other way to map a ip address to a name on a Linux system. I want to be able to ssh to my local machine from an on campus lab without having to memorize my IP address. I have a full unix account that I use from the lab, but not access to /eā¦
Error Output
ssh me@my_machine
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix ā Awaiting Verification
Fix for: User specific /etc/hosts files?
Low Risk
Use a ~/.ssh/config file with something like Host my-machine User me HostName 192.168.63.1 This way, you can even skip the "me@" and do just "ssh my-machine"
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix