Are ssh login aliases possible?
What I'm hoping to do is setup my Linode's ssh so that I can type type, e.g., "
Is this possible? So far, Google has been showing things from people saying they aren't sure this is possible, or going into security issues (which I already know about), but not actually setting this up.
10 Replies
Is it REALLY? that hard to remember unique logins? Maybe you should just give it up and buy a fingerprint reader so you don't have to remember anything except where you left your hands.
Using the same login name isn't really a security risk. The user name I use ssh'ing to my Linode happens to be my real life name, and I can't be the only guy who spells it "kris"
The only really reason I want to have the user alias setup is purely a matter of habit -- Piki has been my default handle for a couple years now, so it's automatic that I type Piki whenever I go to login anywhere, and it's annoying that I keep getting kicked out because I don't have a Piki on my server. Of course, I could just create a new user, but I'd still keep my old user for emails, and I have no other use for two users for myself other than making ssh easier, so that'd be useless for me.
~/.ssh/config:
Host example.com
User blah
Port 25000
Eventually, if user aliases aren't possible, I'll get used to the new user name, I was just born lazy, so I don't want to do that
Ordering the hard disk now isn't an option since I lost my job recently and I need to devote my remaining money to more important things (and since I can use a live CD and store my files on a flash drive, a hard disk isn't too important right now). Hopefully job search doesn't take long.
with the same UID
I found your hands. They were mushing a dogsled team in northern Ontario, Canuckistan. You really should put stings on them or something.
All your hands are belong to us