2009年7月12日 星期日

enable sshd service

1.modify /etc/rc.conf
#ee /etc/rc.conf

add new line as below
sshd_enable="YES"

2.modify syslog.conf to log users login status
#ee /etc/syslog.conf

modify line as below
security.*;auth.info

3.restart sshd and syslogd services
#/etc/rc.d/sshd restart
#/etc/rc.d/syslogd restart

沒有留言:

張貼留言