That's what I thought, but I don't understand why ... Here's your shell experiment (same result as from inside Emacs):
$ ssh -l ec2-user -o ControlMaster=auto -o ControlPath='tramp.%C' -o ControlPersist=no -e none xx.xxx.xxx.xxx [email protected]: Permission denied (publickey,gssapi-keyex,gssapi-with-mic). And here's my usual ssh command (which works): ssh -i <path_to_public_key_file> -o ServerAliveInterval=5 -o ServerAliveCountMax=1 [email protected] The ip address shows up in ~/.ssh/known_hosts as xx.xxx.xxx.xxx ecdsa-sha2-nistp256 <key> Does that provide any clues? There is a vpn active on my system, but connections to aws aren't routed through it (so far as I can tell). Could I edit the Tramp command in Emacs to include a reference to public key? Thanks, Fred On Sat, Oct 26, 2019 at 3:34 AM Michael Albinus <[email protected]> wrote: > Frederick Bartlett <[email protected]> writes: > > > Hi! > > Hi Fred, > > > 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). > > Yes, that's the problem (also visible in Tramp's debug buffer). Your > remote host seems to have a problem with your public key. > > Could you pls check the command Tramp has sent, in a shell terminal? The > command is > > # ssh -l ec2-user -o ControlMaster=auto -o ControlPath='tramp.%C' -o > ControlPersist=no -e none xx.xxx.xxx.xxx > > How do you call ssh in a shell manually? > > > Thanks for your stellar work, > > Fred > > Best regards, Michael. >
