Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Secure-Shell
[Top] [All Lists]

ssh, multiple clients on NAT, known_hosts

Subject: ssh, multiple clients on NAT, known_hosts
Date: Sat, 03 Nov 2007 20:21:07 +0200
ssh -V on Fedora 7
OpenSSH_4.5p1, OpenSSL 0.9.8b 04 May 2006



I have ssh access to computers which sit on a NAT behind a router.
        
        These are the commands I use to access them:
        
        ssh -N -g -R 10000:127.0.0.1:200 user@200.201.202.203
        ssh -N -g -R 10000:127.0.0.1:201 user@200.201.202.203
        
        The router routes port 200 to port 22 on computer 1 and
                          port 201 to port 22 on computer 2.
        
        Starting with a clean known_hosts file, it ask for verification,
        and
        access proceeds.
        
        However, each time I access the other computer, ssh complains
        about the
        entry in the known_hosts file. 
        
        What is a decent workaround for this problem?
        
        Thanks,
        
        Peter

<Prev in Thread] Current Thread [Next in Thread>