Hi. We are currently upgrading the terminal server in our system (Solaris 8). Previously, we used telnet to reach the terminal server from our maintenance workstation. Now, the new one supports SSH, so we're finally moving off telnet. When logging into the terminal server via telnet, a user was prompted for both a username and password. However with SSH, it seems the user has to specify the username up front (ssh joeshmoe@remoteserver) or the user is prompted for the password of the username for the local workstation. I guess ssh assumes you want to login as the same username on the remote server.
Opening the terminal server session is done by a script that can be used by multiple users. I've figured out how to log into the terminal server via ssh, and specify the terminal server port that I want to use, but I cannot figure out how to leave the username out of the ssh command.
i.e., ssh joeshmoe
ort02@terminalServer
I'd like to leave the username out of the script if possible and have the user be prompted for it.
Thanks in advance for any suggestions!
---------- Post updated at 07:07 PM ---------- Previous update was at 07:03 PM ----------
I couldn't get that smiley face out of my example it's supposed to be...
'ssh joeshmoe: port02@terminalServer' without a space between the ":" and the "p".