[NTLUG:Discuss] first time ssh server setup
    Jack Snodgrass 
    jack+ntlug at mylinuxguy.net
       
    Sun Mar  9 18:08:03 CST 2003
    
    
  
On Sun, 2003-03-09 at 16:47, Fred James wrote:
> Sorry - call me dense - but I could really use a "simplified" pointer or 
> two.
> I want to set up SSH as a server on a Red Hat 7.3 box - never set up a 
> server end before.
> Then I want to limit incoming to just one user.
> Any help, or point me to a simplified document, would be appreciated.
the similist way would be to find the latest openssh rpms for redhat 
( try the RH 8.0 ones and see if they install ) 
Once you have the 8.0 ( or 7.3 ) rpms installed, you can do a 
/etc/rc.d/init.d start to start it up. Also use the redhat sysystem 
startup gui to make ssh start at boot time or use the 
chkconfig command to add it to the startup list. 
As for limiting to a single user... you can compile the 
openssh to use /etc/hosts.allow / /etc/hosts.deny but I don't 
know if the redhat RPMs have that enabled. You may have to 
compile your own openssh from source and specify the tcpwrappers 
stuff. 
instead of limiting by ip address, you could make all users have
a valid ssh key and not allow plain passwords/userids. That 
would make it more secure. 
jack 
    
    
More information about the Discuss
mailing list