Instead of running “ssh -p 1234 -l shelluser serverX.example.com”, you could do “myssh serverX”. To do that, you can put this into your .bash_profile as an alias:
sshas() { ssh -p 1234 -l shelluser “$1”.example.com; }
Instead of running “ssh -p 1234 -l shelluser serverX.example.com”, you could do “myssh serverX”. To do that, you can put this into your .bash_profile as an alias:
sshas() { ssh -p 1234 -l shelluser “$1”.example.com; }
by
Tags:
Leave a Reply