Manage sshd Service on CentOS

  • Check the current sshd status:

    service sshd status

  • Start sshd service:

    service sshd start

  • Set sshd autostart on system startup

    chkconfig sshd on

  • List the current autostart status

    chkconfig --list |grep sshd

Or use a simple interface:

# ntsysv

Verified on CentOS 6.4 x86_64.

posted on 2014-03-17 17:50  leechau  阅读(136)  评论(0编辑  收藏  举报

导航