|Subject:||Remote access to server without keys, only password|
|Date:||Sat, 28 Mar 2015 02:25:38 -0700|
Dear Tramp dev team,
I am troubleshooting an issue with Emacs Tramp, and I was referred to email you after a suggestion from a user through emacs.stackexchange.com. My question is posted here:
The full description of my question from that post is below. Any help or suggestions would be greatly appreciated.
I am trying to use Tramp to log into a server that has no SSH keys, just a password. Unfortunately, upon execution of my
/ssh:address@hidden:~/ command, there is no password prompt and the minibuffer says
Sending password, and fails to login. How can I get Tramp to prompt me for a password? Or, how can I configure Tramp to log into this server that has no SSH keys and just a password?
I can SSH into the server via terminal just fine with
ssh address@hidden, where the password prompt is:
Unless I enter my password, there is no other output in the terminal.
Here is the output in my
Tramp: Opening connection for address@hidden using ssh... Tramp: Sending command `exec ssh -l root -e none 188.8.131.52' Tramp: Waiting for prompts from remote shell Tramp: Sending password Tramp: Sending command `exec ssh -l root -e none 184.108.40.206' Tramp: Opening connection for address@hidden using ssh...done Quit
and after setting a verbose output using
(setq tramp-verbose 10), here is the output into my
*debug tramp/ssh address@hidden* buffer:
Note that I get the same results when using
M-x tramp-version is 2.2.6-24.3, running on Ubuntu 14.04.
Any help would be appreciated, or even a description of the logs. I am confused because Tramp seems to be sending some kind of default password without prompting me, even when run with
I tried setting
tramp-password-prompt-regexp with the following:
(setq tramp-password-prompt-regexp (concat "^.*" (regexp-opt '("passphrase" "Passphrase" ;; English "password" "Password" ;; Deutsch "passwort" "Passwort" ;; Français "mot de passe" "Mot de passe") t) ".*:\0? *"))
^.*\(Mot de passe\|Pass\(?:phrase\|wor[dt]\)\|mot de passe\|pass\(?:phrase\|wor[dt]\)\).*:^@ when evaluated with
and here is the updated output from
*debug tramp/ssh address@hidden*:
|[Prev in Thread]||Current Thread||[Next in Thread]|