Hi!

I've been using Tramp for a few years now with good success -- but
something just changed, either in Tramp, AWS, or Fedora Linux.

I have not changed anything in my .emacs; however, I did recently reboot
and upgrade to kernel 5.3.6-200.fc30.x86_64. So far as I know, AWS hasn't
changed: I can still connect via ssh.

Tramp's main complaint is
[email protected]: Permission denied
(publickey,gssapi-keyex,gssapi-with-mic).

Below is the (anonymized) result of tramp-verbose 10 on a freshly started
Emacs.

Thanks for your stellar work,
Fred


;; Emacs: 26.2 Tramp: 2.3.5.26.2 -*- mode: outline; -*-
;; Location: /usr/share/emacs/26.2/lisp/net/tramp.elc Git: nil
14:44:24.000878 tramp-get-connection-property (7) # case-insensitive undef
14:44:24.001449 tramp-get-file-property (8) # <remote-file-name>
file-directory-p undef
14:44:24.001522 tramp-get-connection-property (7) # test undef
14:44:24.001565 tramp-get-test-command (5) # Finding a suitable ‘test’
command
14:44:24.001611 tramp-get-connection-property (7) # process-name nil
14:44:24.001657 tramp-get-connection-property (7) # process-name nil
14:44:24.001701 tramp-get-connection-property (7) # process-buffer nil
14:44:24.001748 tramp-get-connection-property (7) # process-buffer nil
4:44:24.001791 tramp-set-connection-property (7) # process-buffer nil
14:44:24.001929 tramp-maybe-open-connection (3) # Opening connection for
[email protected] using ssh...
14:44:24.006987 tramp-get-local-locale (7) # locale en_US.utf8
14:44:24.007112 tramp-get-connection-property (7) # login-args undef
14:44:24.007173 tramp-get-connection-property (7) # login-args undef
14:44:24.007277 tramp-ssh-controlmaster-options (4) # Computing
ControlMaster options...
14:44:24.007348 tramp-call-process (6) # ‘ssh -o ControlMaster’ nil  *temp*
14:44:24.010816 tramp-call-process (6) # 255
command-line line 0: missing argument.
14:44:24.010899 tramp-call-process (6) # ‘ssh -o ConnectTimeout=1 -o
ControlPath=%C 0.0.0.1’ nil  *temp*
14:44:25.016443 tramp-call-process (6) # 255
Pseudo-terminal will not be allocated because stdin is not a terminal.
ssh: connect to host 0.0.0.1 port 22: Connection timed out
14:44:25.016559 tramp-call-process (6) # ‘ssh -o ControlPersist’ nil  *temp*
14:44:25.019551 tramp-call-process (6) # 255
command-line line 0: Missing ControlPersist argument.
14:44:25.019630 tramp-ssh-controlmaster-options (4) # Computing
ControlMaster options...done
14:44:25.019715 tramp-get-connection-property (7) # process-name nil
14:44:25.019767 tramp-get-connection-property (7) # process-buffer nil
14:44:25.020967 tramp-set-connection-property (7) # vector (tramp-file-name
ssh ec2-user nil xx.xxx.xxx.xxx nil <remote-file-name> nil)
14:44:25.021049 tramp-maybe-open-connection (6) # /bin/sh -i
14:44:25.021105 tramp-get-connection-property (7) # vector (tramp-file-name
ssh ec2-user nil xx.xxx.xxx.xxx nil <remote-file-name> nil)
14:44:25.021169 tramp-get-connection-property (7) # check-remote-echo nil
14:44:25.021220 tramp-get-connection-property (7) # check-remote-echo nil
14:44:25.022048 tramp-accept-process-output (10) # *tramp/ssh
[email protected]* run t
#$
14:44:25.022106 tramp-get-connection-property (7) # check-remote-echo nil
14:44:25.022154 tramp-get-connection-property (7) # check-remote-echo nil
14:44:25.022205 tramp-wait-for-regexp (6) #
#$
14:44:25.022267 tramp-get-connection-property (7) # login-program undef
14:44:25.022324 tramp-get-connection-property (7) # login-args undef
14:44:25.022378 tramp-get-connection-property (7) # login-env undef
14:44:25.022438 tramp-get-connection-property (7) # async-args undef
14:44:25.022492 tramp-get-connection-property (7) # connection-timeout undef
14:44:25.022544 tramp-get-connection-property (7) # temp-file undef
14:44:25.022631 tramp-set-connection-property (7) # temp-file
/tmp/tramp.0CzWga
14:44:25.029507 tramp-maybe-open-connection (3) # Sending command ‘exec ssh
-l ec2-user  -o ControlMaster=auto -o ControlPath='tramp.%C' -o
ControlPersist=no -e none xx.xxx.xxx.xxx’
14:44:25.029575 tramp-get-connection-property (7) # process-name nil
14:44:25.029630 tramp-get-connection-property (7) # remote-echo nil
14:44:25.029679 tramp-send-command (6) # exec ssh -l ec2-user  -o
ControlMaster=auto -o ControlPath='tramp.%C' -o ControlPersist=no -e none
xx.xxx.xxx.xxx
14:44:25.029729 tramp-get-connection-property (7) # process-name nil
14:44:25.029780 tramp-get-connection-property (7) # chunksize nil
14:44:25.029828 tramp-set-connection-property (7) # last-cmd-time (23987
17033 29813 651000)
14:44:25.029883 tramp-send-string (10) # exec ssh -l ec2-user  -o
ControlMaster=auto -o ControlPath='tramp.%C' -o ControlPersist=no -e none
xx.xxx.xxx.xxx
14:44:25.029930 tramp-get-connection-property (7) # process-buffer nil
14:44:25.030007 tramp-set-connection-property (7) # first-password-request
14:44:25.030120 tramp-process-actions (3) # Waiting for prompts from remote
shell...
14:44:25.971053 tramp-accept-process-output (10) # *tramp/ssh
[email protected]* run t
[email protected]: Permission denied
(publickey,gssapi-keyex,gssapi-with-mic).
14:44:25.971140 tramp-process-one-action (5) # Looking for regexp
"\(.*\(user\|login\)\( .*\)?: *\)\'" from remote shell
14:44:25.971194 tramp-get-connection-property (7) # check-remote-echo nil
14:44:25.971244 tramp-get-connection-property (7) # check-remote-echo nil
14:44:25.971497 tramp-process-one-action (5) # Looking for regexp
"\(^.*\(\(?:adgangskode\|contrase\(?:\(?:ny\|ñ\)a\)\|geslo\|h\(?:\(?:asł\|esl\)o\)\|iphasiwedi\|jelszó\|l\(?:ozinka\|ösenord\)\|m\(?:ot
de passe\|ật khẩu\)\|pa\(?:rola\|s\(?:ahitza\|s\(?:
phrase\|code\|ord\|phrase\|wor[dt]\)\|vorto\)\)\|s\(?:alasana\|enha\|laptažodis\)\|wachtwoord\|лозинка\|пароль\|ססמה\|كلمة
السر\|गुप्तशब्द\|शब्दकूट\|গুপ্তশব্দ\|পাসওয়ার্ড\|ਪਾਸਵਰਡ\|પાસવર્ડ\|ପ୍ରବେଶ
ସଙ୍କେତ\|கடவுச்சொல்\|సంకేతపదము\|ಗುಪ್ತಪದ\|അടയാളവാക്ക്\|රහස්පදය\|ពាក្យសម្ងាត់\|パスワード\|密[码碼]\|암호\)\).*:\0?
*\)\'" from remote shell
14:44:25.971624 tramp-process-one-action (5) # Looking for regexp
"\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification
failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o
supported authentication methods left to try!\)\|Permission
denied\|\(?:Sorry, try again\|Timeout, server not
responding\)\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell
14:44:25.971711 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
14:44:25.971771 tramp-process-one-action (5) # Looking for regexp "\(\(?:^\|
\)[^]#$%>
]*#?[]#$%>] *\( \[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell
14:44:25.971837 tramp-process-one-action (5) # Looking for regexp "\(\(Are
you sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote
shell
14:44:25.971897 tramp-process-one-action (5) # Looking for regexp
"\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels
connectio\)n)\)\s-*\)\'" from remote shell
14:44:25.971953 tramp-process-one-action (5) # Looking for regexp "\(\(TERM
= (.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell
14:44:25.972008 tramp-process-one-action (5) # Looking for regexp "\(\)\'"
from remote shell
14:44:25.972063 tramp-process-one-action (5) # Call
‘tramp-action-process-alive’
14:44:25.972123 tramp-get-connection-property (7) # process-buffer nil
14:44:25.972172 tramp-process-actions (6) #
[email protected]: Permission denied
(publickey,gssapi-keyex,gssapi-with-mic).
14:44:25.974188 tramp-get-connection-property (7) # process-buffer nil
14:44:25.974898 tramp-process-actions (10) #
  backtrace()
  tramp-error((tramp-file-name "ssh" "ec2-user" nil "xx.xxx.xxx.xxx" nil
"<remote-file-name>" nil) file-error "Tramp failed to connect.  If this
happens repeatedly, try\012    ‘M-x tramp-cleanup-this-connection’")
  apply(tramp-error (tramp-file-name "ssh" "ec2-user" nil "xx.xxx.xxx.xxx"
nil "<remote-file-name>" nil) file-error "Tramp failed to connect.  If this
happens repeatedly, try\012    ‘M-x tramp-cleanup-this-connection’" nil)
  tramp-process-actions(#<process *tramp/ssh [email protected]*>
(tramp-file-name "ssh" "ec2-user" nil "xx.xxx.xxx.xxx" nil
"<remote-file-name>" nil) 1 ((tramp-login-prompt-regexp tramp-action-login)
(tramp-password-prompt-regexp tramp-action-password)
(tramp-wrong-passwd-regexp tramp-action-permission-denied)
(shell-prompt-pattern tramp-action-succeed) (tramp-shell-prompt-pattern
tramp-action-succeed) (tramp-yesno-prompt-regexp tramp-action-yesno)
(tramp-yn-prompt-regexp tramp-action-yn) (tramp-terminal-prompt-regexp
tramp-action-terminal) (tramp-process-alive-regexp
tramp-action-process-alive)) 60)
  tramp-maybe-open-connection((tramp-file-name "ssh" "ec2-user" nil
"xx.xxx.xxx.xxx" nil "<remote-file-name>" nil))
  tramp-send-command((tramp-file-name "ssh" "ec2-user" nil "xx.xxx.xxx.xxx"
nil "<remote-file-name>" nil) "test 0 2>/dev/null; echo tramp_exit_status
$?")
  tramp-send-command-and-check((tramp-file-name "ssh" "ec2-user" nil
"xx.xxx.xxx.xxx" nil "<remote-file-name>" nil) "test 0")
  tramp-get-test-command((tramp-file-name "ssh" "ec2-user" nil
"xx.xxx.xxx.xxx" nil "<remote-file-name>" nil))
  tramp-run-test("-d" "/ssh:[email protected]:<remote-file-name>")
  tramp-sh-handle-file-directory-p("/ssh:[email protected]
:<remote-file-name>")
  apply(tramp-sh-handle-file-directory-p "/ssh:[email protected]
:<remote-file-name>")
  tramp-sh-file-name-handler(file-directory-p "/ssh:[email protected]
:<remote-file-name>")
  apply(tramp-sh-file-name-handler file-directory-p
"/ssh:[email protected]:<remote-file-name>")
  tramp-file-name-handler(file-directory-p "/ssh:[email protected]
:<remote-file-name>")
  file-directory-p("/ssh:[email protected]:<remote-file-name>")
  find-file-noselect("/ssh:[email protected]:<remote-file-name>" nil
nil t)
  find-file("/ssh:[email protected]:<remote-file-name>" t)
  funcall-interactively(find-file
"/ssh:[email protected]:<remote-file-name>"
t)
  apply(funcall-interactively find-file
("/ssh:[email protected]:<remote-file-name>"
t))
  repeat-complex-command(1)
  funcall-interactively(repeat-complex-command 1)
  call-interactively(repeat-complex-command nil nil)
  command-execute(repeat-complex-command)
  recursive-edit()
  debug(error (error "There are no previous complex commands to repeat"))
  signal(error ("There are no previous complex commands to repeat"))
  error("There are no previous complex commands to repeat")
  repeat-complex-command(1)
  funcall-interactively(repeat-complex-command 1)
  call-interactively(repeat-complex-command nil nil)
  command-execute(repeat-complex-command)
14:44:25.975005 tramp-process-actions (1) # File error: Tramp failed to
connect.  If this happens repeatedly, try
    ‘M-x tramp-cleanup-this-connection’
[email protected]: Permission denied
(publickey,gssapi-keyex,gssapi-with-mic).
14:44:28.553971 tramp-maybe-open-connection (3) # Opening connection for
[email protected] using ssh...failed
14:44:28.554775 tramp-get-file-property (8) #  file-truename nil
14:44:28.554832 tramp-flush-directory-property (8) #
14:44:28.554889 tramp-get-connection-property (7) # process-name nil
14:44:28.554944 tramp-flush-connection-property (7) # (tramp-file-name ssh
ec2-user nil xx.xxx.xxx.xxx nil nil nil) (process-buffer
first-password-request)
14:44:28.555009 tramp-get-connection-property (7) # process-buffer nil

Reply via email to