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:firstname.lastname@example.org:~/ 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 email@example.com, 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 firstname.lastname@example.org using ssh... Tramp: Sending command `exec ssh -l root -e none 220.127.116.11' Tramp: Waiting for prompts from remote shell Tramp: Sending password Tramp: Sending command `exec ssh -l root -e none 18.104.22.168' Tramp: Opening connection for email@example.com using ssh...done Quit
and after setting a verbose output using
(setq tramp-verbose 10), here is the output into my
*debug tramp/ssh firstname.lastname@example.org* 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 email@example.com*: