vi ~/.ssh/config Host <hostname> User userB
then connect to <hostname> and ssh will use userB as username for that specific hostname // rancor 2011/8/10 Aggelis Aggelis <agge...@gmail.com>: > Problem: > > i am sitting in an openbsd box (A.A.A.A) logged in as userA and i want to > ssh to an openbsd box (B.B.B.B) as userB > > This can be accomplished with > > [userA@boxA]$ ssh -l userB B B.B.B.B > > and i will be asked the password for userB > > > if i do not specify the username ssh uses automatically my login name > [userA@boxA]$ ssh B B.B.B.B > userA@B.B.B.B's password: > > Although this is for aesthetic reasons > is there a way for ssh client not to send user information so that i will be > asked for user name AND password from the ssh server > running on box B.B.B.B ?