4017 Views 7 Replies Latest reply: Nov 28, 2013 10:40 AM by BDAqua
Either you have something in your .bash_profile (or .bash_login, or .profile) that is running a command that wants your password, or your terminal default session has been configured to ssh into another system (which could be localhost, aka yourself).
So look at the shell initializations files I mentioned above. See what they are doing. You could always edit the shell initialization file and add
at the very beginning to see exactly what it is doing when you login. Remote the "set -x" when you are finished.
To see if you have your Terminal preferences configured to ssh, you could enter the following
printenv | grep ssh
If you get
SSH_CLIENT=::1 49801 22
SSH_CONNECTION=::1 49801 ::1 22
chances are you have been issuing the ssh command as part of your Terminal preferences.
By the way, Terminal, Unix, X11, and command line command, ssh, rsync, etc... questions are best asked in the Mac OS X Technologies > Unix Forum