GNU bug report logs - #43250
28.0.50; tramp ignores .ssh/config

Previous Next

Package: emacs;

Reported by: sds <at> gnu.org

Date: Sun, 6 Sep 2020 22:09:02 UTC

Severity: normal

Found in version 28.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Sam Steingold <sds <at> gnu.org>
Cc: 43250 <at> debbugs.gnu.org
Subject: bug#43250: 28.0.50; tramp ignores .ssh/config
Date: Mon, 07 Sep 2020 10:41:00 +0200
Sam Steingold <sds <at> gnu.org> writes:

Hi Sam,

> This looks like a newly introduced bug.

I've tried to reproduce the problem. I have modified my .ssh/config to

--8<---------------cut here---------------start------------->8---
Host fence
HostName	fencepost.gnu.org

Host            *
Compression     yes
ForwardAgent    yes
ForwardX11      no
User            sds
VisualHostKey   no
#GSSAPIDelegateCredentials yes
--8<---------------cut here---------------end--------------->8---

User "sds" is invalid in my case :-) Then I have applied

--8<---------------cut here---------------start------------->8---
(copy-file "/scp:fence:~/.forward" "~/.forward")
--8<---------------cut here---------------end--------------->8---

This fails with

--8<---------------cut here---------------start------------->8---
sds <at> fencepost.gnu.org: Permission denied (publickey).
--8<---------------cut here---------------end--------------->8---

as expected. What happens, if you call from your shell

--8<---------------cut here---------------start------------->8---
# ssh -o ControlMaster=auto -o ControlPath='tramp.%C' \
  -o ControlPersist=no -e none fence
--8<---------------cut here---------------end--------------->8---

> Thank you.

Best regards, Michael.




This bug report was last modified 4 years and 114 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.