SSH tunnel for ssh traffic

Christoph Höger choeger at cs.tu-berlin.de
Thu Apr 15 21:40:17 UTC 2010


Am Donnerstag, den 15.04.2010, 07:48 -0700 schrieb Konstantin Svist:
> On 04/15/2010 07:12 AM, Christoph Höger wrote:
> > Hi,
> >
> > I need to ssh to some remote VM that sit in a private LAN. For any other
> > service (e.g. RDP) I'd use ssh tunneling just normal.
> > But what do I do for ssh traffic? Since ssh is not host agnostic, it
> > will always complain about localhost having a different RSA key.
> > I just do not want to edit the known_hosts every time I need to connecto
> > to a new machine!
> >
> > Is there some way to tell ssh to use a tunnel directly for a connection?
> >
> > regards
> >
> > Christoph
> >   
> 
> You could use a nonstandard port for the connection. known_hosts
> includes the port information when the port is not 22 - it looks
> something like [localhost:1234]

ssh localhost:12345 does not work (tries to resolve localhost:12345 as
hostname, dunno why)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20100415/af5345df/attachment.bin 


More information about the users mailing list