Hi,
I got a question to ask. I am running solaris 7.
In ssh1/2's sshd_config file, there is a key word "AllowHosts". You may use this key word to define the servers ips from where the ssh login is allowed. I could not find it from OpenSSH_2.2.0p1. Do I have to use tcp wrappers with the OpenSSH to do this? Do I have to compile the OpenSSH with --with-tcp-wrappers option? From the OpenSSH installation instruction pages, it says that you will need libwrap.a and tcpd.h installed. I don't quite understand this. In my understanding, after compile the tcp wrapper, I only keep the tcpd, tcpdchk and tcpdmatch and deleted all other files. Do I need reinstall the tcp wrappers to make them work together? If I don't want to reinstall the tcp wrappers, if I keep the current tcpd (from tcp wrapper) which is started from the /etc/inetd.conf file, can I start sshd using the tcpd, just like what we do with telnet and ftp? I mean put something like:
telnet stream tcp nowait root /usr/local/bin/tcpd in.telnetd
sshd stream tcp nowait root /usr/local/bin/tcpd sshd
in the /etc/inetd.conf file. I tried to put this line there, but it doesn't work. Is it the syntax problem, or it is impossible to do it?
Thanks!
*****************
Weihong Cui
[EMAIL PROTECTED]
http://www.smallworld.com
"Play the Game . . . Take on the World"
*****************
