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]