Penguin

Differences between version 71 and predecessor to the previous major change of SSHNotes.

Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History

Newer page: version 71 Last edited on Thursday, November 17, 2005 6:36:07 pm by AlastairPorter Revert
Older page: version 69 Last edited on Thursday, July 28, 2005 7:11:21 pm by MattBrown Revert
@@ -38,8 +38,23 @@
  
 Combined with [SSHKeys] it's excellent for reconnecting those [IRC] sessions with a single key/buttonpress. 
  
 Unfortunately this option cannot be set from your ssh_config(5). 
+  
+!!!Connecting to two hosts behind one IP address  
+  
+You may connect directly to a number of machines NATted behind a single ip address using different ports.  
+  
+After the first host has been connected to, subsequent hosts will give a warning:  
+ Warning: the RSA host key for 'hostname' differs from the key for the IP address '1.1.1.1'  
+ Offending key for IP in /home/alastair/.ssh/known_hosts:2  
+ Matching host key in /home/alastair/.ssh/known_hosts:7  
+ Are you sure you want to continue connecting (yes/no)?  
+  
+Some ways to work around this:  
+* Add ''!StrictHostKeyChecking no'' to each stanza in your ssh_config(5). This will still produce a warning, but will connect without any input needed  
+* Add ''!UserKnownHostsFile ~/.ssh/known_hosts_foo'' to each ssh_config(5) stanza.  
+  
  
 !!!Port Forwarding 
  
 [SSH] can forward ports across its encrypted tunnel. Using the following command,