From: Michael Albinus <michael.albinus@gmx.de>
To: Glenn Morris <rgm@gnu.org>
Cc: 18967@debbugs.gnu.org, Ted Zlatanov <tzz@lifelogs.com>,
Stefan Monnier <monnier@IRO.UMontreal.CA>
Subject: bug#18967: Tramp disables important SSH security features
Date: Sun, 18 Dec 2016 09:51:18 +0100 [thread overview]
Message-ID: <878trdy60p.fsf@gmx.de> (raw)
In-Reply-To: <qu4m27vbmq.fsf@fencepost.gnu.org> (Glenn Morris's message of "Tue, 13 Dec 2016 15:04:45 -0500")
Glenn Morris <rgm@gnu.org> writes:
> How about
>
> ssh -o BatchMode=yes
No, Batchmode suppresses the password dialogue. Not applicable.
And looking at the code I really don't see what can be done.
Note, that GlobalKnownHostsFile, UserKnownHostsFile and
StrictHostKeyChecking are not disabled by default. They are disabled
only in case a so-called gateway is used, like
"/tunnel:proxyhost#3128|ssh:remotehost:/path/to/file". Tramp will
created a temporary httpd tunnel then, with a random port number on the
localhost, like localhost#12345.
If you connect to remotehost as above, there will be a an internal ssh
connection to localhost#12345, which is the tunnel through proxyhost. If
you connect to another.remotehost afterwards, the same internal ssh
target will be used. But remotehost and another.remotehost are
different, and so are their host keys. That's why Tramp must be
instructed to ignore the host keys in this very special case.
See also (info "(tramp) Gateway methods")
Best regards, Michael.
next prev parent reply other threads:[~2016-12-18 8:51 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-06 0:47 bug#18967: Tramp disables important SSH security features Daniel Colascione
2014-11-06 12:05 ` Ted Zlatanov
2014-11-06 16:58 ` Daniel Colascione
2014-11-06 20:59 ` Ted Zlatanov
2014-11-06 23:39 ` Stefan Monnier
2014-11-07 7:56 ` Michael Albinus
2016-12-13 1:12 ` Glenn Morris
2016-12-13 8:36 ` Michael Albinus
2016-12-13 20:04 ` Glenn Morris
2016-12-18 8:51 ` Michael Albinus [this message]
2016-12-19 17:02 ` Glenn Morris
2016-12-19 18:37 ` Michael Albinus
2016-12-21 11:44 ` Michael Albinus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=878trdy60p.fsf@gmx.de \
--to=michael.albinus@gmx.de \
--cc=18967@debbugs.gnu.org \
--cc=monnier@IRO.UMontreal.CA \
--cc=rgm@gnu.org \
--cc=tzz@lifelogs.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.