Msg#: 4139712 posted 2:51 pm on May 28, 2010 (gmt 0)
I'm not aware of anyway to do this, in fact I would think that Apple would not want you to be able to do that for security reasons.
I rarely use Terminal, but could you not just create a text file with the info and keep it handy to copy and paste? Or perhaps use one of the utilities like QuicKeys that allows you to assign hot keys?
Msg#: 4139712 posted 11:48 pm on Jun 21, 2010 (gmt 0)
If you're logging as root to your webserver - you're asking for trouble. Create an regular user, login and then "su" if you really need to do some stuff!
To answer your question - I personally not aware of the mechanism on Mac to remember ssh login info. It's probably not there for security reasons. Although you can use AppleScript app (and keep it in 128-bit password protected image) to log you automatically to your server. It will open your terminal, log you as regular user and then "su". All automatic! Imagine that! If you need help with AppleScript - PM me. Regards, Mark.
Msg#: 4139712 posted 2:33 pm on Jun 22, 2010 (gmt 0)
Oh, there's an easy way to do this: Just create an alias.
alias login="ssh email@example.com"
After that, you can just type "login" to log in.
That won't survive sessions, though. To make it permanent, add that command to the file at /users/username/.tcshrc/. If that file doesn't exist, create it. To load it after you created it, type "source .tcshrc". It will load automatically in the future.