Monday, April 13, 2009

Disable SSH login for individual users

1.)Edit the /etc/ssh/sshd_config file

Add the user names after “DenyUsers” string which you want disable .

Example :


DenyUsers ftpuser fdpuser2

2.) Restart the ssh service

For Solaris 10
--------------
svcadm refresh svc:/network/ssh:default

For Solaris 7,8 & 9
------------------
/etc/init.d/sshd restart


1 comment:

gahaniezzi said...

Harrah's Atlantic City - MapYRO
Welcome to Harrah's 제천 출장샵 Resort 춘천 출장안마 and 포항 출장샵 Casino! Our hotel 부천 출장마사지 is 1.6 mi (2.9 km) from Harrahs Casino and 8 minutes 용인 출장안마 by car from the Boardwalk. This casino is