DarkMatter in Cyberspace
  • Home
  • Categories
  • Tags
  • Archives

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.


2014-7-16: On CentOS 6.5 32bit:

# chkconfig NetworkManager off
# chkconfig network on
# chkconfig sshd on


Published

Jan 23, 2014

Last Updated

Jan 23, 2014

Category

Tech

Tags

  • CentOS 25
  • sshd 2

Contact

  • Powered by Pelican. Theme: Elegant by Talha Mansoor