Bug 162 - Tunneling of ssh over ssh seems broken
Summary: Tunneling of ssh over ssh seems broken
Status: CLOSED FIXED
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: ssh (show other bugs)
Version: -current
Hardware: ix86 Linux
: P2 normal
Assignee: OpenSSH Bugzilla mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-03-13 15:07 AEDT by Jakob Lichtenberg
Modified: 2004-04-14 12:24 AEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jakob Lichtenberg 2002-03-13 15:07:52 AEDT
Hi,

This is for 3.1p2, but it is not in Bugzilla version system yet!

The last many years I have been tunneling ssh through ssh.  What I do is to ssh
to a special port on my localhost.  This port is then (using ssh :-) ) forwarded
to a remote ssh server.  This has worked perfect for a long time!

Until my upgrade to 3.1p2 the ssh1 system correctly asked the remote server at
the end of the line for a name (and a host key).  The remote server name was the
key in the host table.  Now, however, ssh saves the key under localhost!!!  This
 is really uncool since I easily run five tunnels to five different remote
servers (on five local port no's), so......

Whoever changed it....  Is this a bug, or am I using ssh in the wrong way!

Thanks,

- Jakob Lichtenberg
Comment 1 Markus Friedl 2002-03-13 20:07:37 AEDT
the pre-3.x behaviour can be restored with this option:

     NoHostAuthenticationForLocalhost
             This option can be used if the home directory is shared across
             machines.  In this case localhost will refer to a different ma-
             chine on each of the machines and the user will get many warnings
             about changed host keys.  However, this option disables host au-
             thentication for localhost.  The argument to this keyword must be
             ``yes'' or ``no''. The default is to check the host key for lo-
             calhost.

however, the use of HostKeyAlias is recommended
Comment 2 Damien Miller 2004-04-14 12:24:18 AEST
Mass change of RESOLVED bugs to CLOSED