2009年6月10日 星期三

check sshd syntax error

1.Run command to check syntax error
#sshd -t
if error occur, it will show message like below
/etc/ssh/sshd_config: line 1: Bad configuration option: Package
/etc/ssh/sshd_config: terminating, 1 bad configuration options

2.modify line error and run the command again
#sshd -t

沒有留言:

張貼留言