sshd config problem.
    Dave Johnson 
    dave-gnhlug-list at davej.org
       
    Mon Sep  3 11:59:49 EDT 2007
    
    
  
Steven W. Orr writes:
> For reasons that are probably very boring, I want to make a change to my 
> sshd config. I have two interfaces, eth0 and eth1. I had previously 
> modified my listening port from 22 to something with a couple of extra 
> digits for the kiddys. Now I have a situation where I want to maintain 
> that setup only on eth0 (a.b.c.d) but I want to make it listen on port 22 
> for eth1 (192.168.0.2).
> 
> I tried
> ListenAddress 192.168.0.2:22
> ListenAddress 207.172.210.41:1234
> but I must be doing something wrong.
> 
> Anyone?
That should work, but you should also remove any 'Port' config lines
in the config file for the ListenAddress to take effect, expecially if
Port is below the ListenAddress lines.
-- 
Dave
    
    
More information about the gnhlug-discuss
mailing list