Re: Port Forwarding and Multiple SSH Servers - WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!

From: Job Eisses (jei_at_jei.homelinux.net)
Date: 11/30/04


Date: Mon, 29 Nov 2004 23:50:41 GMT

Gary wrote:
>
> Behind my firewall I have several SSH servers that I connect to with
> something like:
> ssh -p xx user@firewall_IP_address
> ... but I still get the error message. My workaound is to remove the key
> in known_hosts and then connect but I need to find a better solution.
> Is there one?

My workaround, a bit clumsy, is to use "ssh -F configfileX ..." with a
different
configfileX for each host, and in that configfileX a reference to a
different known_hosts file for each host. I came across it when i wanted
to ssh to many different hosts from a single server via a ssh gateway
host, each getting its own local portnumber.
Extending the current use of known_hosts with a portnumber field in each
hostline might make this more elegant.
        Wfg -job



Relevant Pages

  • Re: Port Forwarding and Multiple SSH Servers - WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!
    ... >> Behind my firewall I have several SSH servers that I connect to with ... > different known_hosts file for each host. ... > to ssh to many different hosts from a single server via a ssh gateway ... That way you wouldn't have to specify ...
    (comp.security.ssh)
  • Re: Port Forwarding and Multiple SSH Servers - WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!
    ... >> Behind my firewall I have several SSH servers that I connect to with ... >different known_hosts file for each host. ... >to ssh to many different hosts from a single server via a ssh gateway ... Good judgement comes with experience. ...
    (comp.security.ssh)
  • RE: sshd / ssh setup
    ... We have an Remote FreeBSD system which is located some where on the ... This method gives the maximum protection possible utilizing ssh. ... Host setup steps. ... Reboot your system to activate sshd and login as root. ...
    (freebsd-questions)
  • SSH filter transer, was Re: Soft Update - directory/file listing
    ... But SSH file transfer is painfully slow all the time. ... ## SSH 3.2 Server Configuration File ... # Note that forwardings using the name of this host will be allowed (if ...
    (freebsd-performance)
  • Re: [opensuse] Re: OpenSUSE PuTTY ?
    ... PuTTY lets you set up all kinds of special options, tied to which host ... The ssh daemon on the host machine is usually activated by default, ... As a taster to open a remote session in a new window in any konsole ... Windows users should explore Cygwin as this will allow you to run ssh ...
    (SuSE)