( I apologize for posting an end user question on this list. If this is inappropriate please let me know. I have tried for quite some time to figure out this but have been unable to. )
Prior to emacs 23 I was able to use the following to connect to remote hosts as my user and then sudo to root :
Prior to emacs 23, my password would be looked up correctly in the authinfo file, which contains:
machine 192.168.1.120 login mike password mysecret
Since emacs 23 (including the latest 23.3.1), I am prompted to enter a password to connect to the remote machine. In emacs 22 I can connect without being prompted.
Any thoughts on why this is not reading my password from the authinfo file? If I try to connect via "/ssh:192.168.1.120" it reads my authinfo password and connects without prompting me. It is only when using "/sudo" that the I am prompted. According to http://www.gnu.org/software/tramp/#Multi_002dhops it seems like this should work. Any idea what I am doing wrong?