Networking Forums

Networking Forums > Computer Networking > Linux Networking > multiple keys in .ssh/known_hosts

Reply
Thread Tools Display Modes

multiple keys in .ssh/known_hosts

 
 
SS Tsay
Guest
Posts: n/a

 
      07-08-2004, 01:41 AM
I have an ssh tunnel from my home gateway to my machine at work. ie If
I ssh to a certain port on my home gateway from my home desktop I get my
work machine's ssh server. I must do this because my work machine has a
private address behind a firewall. The problem is that the
..ssh/known_hosts file on my home desktop has the public key for my
gateway in it and when I connect to the ssh tunnel my work machine's ssh
key gets sent over and my desktop tries to associate that key with my
gateway in the known_hosts file. This throws up an error and I have to
manually delete the key from the known_hosts file. Does anyone know a
way around this?

The tunnel command I use from my work machine is

ssh -f -C -Rport#:localhost:22 mygateway.com sleep 72h

Thanks,
TS
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to identify ephemeral port range of Windows server2008 using registry keys? What are the new Registry keys? jhon Fernando Windows Networking 0 09-18-2008 12:28 AM
Do any wireless APs support multiple keys? void.no.spam.com@gmail.com Wireless Internet 7 05-29-2008 06:24 AM
WEP Keys Geoff Lane Home Networking 2 01-03-2006 05:43 PM
iBook Airport multiple WEP keys : cannot authenticate Timo Wireless Internet 4 12-30-2004 01:59 PM
Multiple WEP keys James Knott Linux Networking 2 08-09-2004 11:53 AM



1 2 3 4 5 6 7 8 9 10 11