1
votes

I've having serious trouble using tramp on Emacs. I am continuously being asked for my password when I ssh into a server via tramp. This is to the point where it blocks me being able to do anything.

I have looked far and wide on the internet and the most widely used solutions do not seem to work for me.

Here is my tramp setup in my .emacs.d for the curious http://pastebin.com/NJCaa0RH.

Has anyone else had this problem and can point me in the way of a fix? Or do you see a glaring error in tramp config?

You may have more luck getting an answer for this question on SE site dedicated for Emacs: emacs.stackexchange.com - Arkadiusz Drabczyk
Have you tried setting up an ssh-agent? I've found this works much better with tramp as then you only get prompted for your passphrase once. The ohter thing to look at is to turn on tramp debugging and check what the response is from the remote server. I have had problems like this when the response from the server does ot match what tramp is expecting. When you say you get asked for your password all the time, do you mean it just continually asks for your password or are you able to enter your password, work for a little bit and then get asked again? - Tim X