Guest tslugmo Posted June 17, 2003 Report Share Posted June 17, 2003 I want to alias my ssh command at startup so all I have to type is "sshh" or something, instead of "ssh -l username site.domain.com" every time. Is this possible? I've added the alias line to my .xinitrc shell script, but it has no effect even though other commands are running at startup. What am I missing? TIA, tslug Quote Link to comment Share on other sites More sharing options...
tyme Posted June 17, 2003 Report Share Posted June 17, 2003 you would be better off putting the alias in .bashrc. it would then get loaded whenever you open up a terminal i.e. (to make sure you have the right syntax :-) ): alias sshh='ssh -l username site.domain.com' Quote Link to comment Share on other sites More sharing options...
Guest tslugmo Posted June 17, 2003 Report Share Posted June 17, 2003 Awsome, worked beautifully, thanks! :D -tslug Quote Link to comment Share on other sites More sharing options...
Cannonfodder Posted June 18, 2003 Report Share Posted June 18, 2003 if you want them to be available for everyone, you can put them in /etc/profile.d as well.. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.