[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tramp no longer connects to aws instances

From: Frederick Bartlett
Subject: Re: Tramp no longer connects to aws instances
Date: Sat, 26 Oct 2019 09:01:31 -0400

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
address@hidden: 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 address@hidden

The ip address shows up in ~/.ssh/known_hosts as 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?


On Sat, Oct 26, 2019 at 3:34 AM Michael Albinus <address@hidden> wrote:
Frederick Bartlett <address@hidden> 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
> address@hidden: 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

How do you call ssh in a shell manually?

> Thanks for your stellar work,
> Fred

Best regards, Michael.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]