The documentation for ssh and sshd has me a bit confused about configuring options for multiple interfaces.
I have a box with two interfaces: eth0 - outside, the Internet eth1 - inside , the office LAN, 192.168.1.* For the outside connection eth0 I only want to allow ssh logins using authorized keys and NOT passwords. For the inside connection I want to be able to use password logins as well as authorized keys. For my .ssh/config file I'm guessing I should have something like this: ------------ Host 192.168.1.* PasswordAuthentication yes Host * PasswordAuthentication no -------------------- Does this seem right? I don't want to accidentally lock myself out of the box before I do this :/ Gus -- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list
