The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

    • RT @hbeckpdx: Hi friends, I'm looking for a job somewhere working to make our world and society better. My special interests are accessibi… 40 minutes ago
    • RT @ginnymooy: Quote Kuipers: "Maak je eigen plan" Maar. De overheid heeft een grondwettelijke verplichting de volksgezondheid te bevorder… 41 minutes ago
    • RT @locuta: De doe-het-zelf maatschappij Moet je wel belasting voor betalen RT @Teletekst: "Zelf voorbereiden op coronagolf" https://t.co… 2 hours ago
    • RT @hbeckpdx: Didn't get a job I was really hoping for, so it's back to searching 😕 If you see backend positions at shops at least not mak… 2 hours ago
    • RT @barrysmit: Ik zie veel kritische reacties, maar is het echt zo gek om aan de burger te vragen om gewoon zelf een keer voor voldoende IC… 2 hours ago
  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 2,726 other followers

How do I restart sshd on my Unix system | StarNet Knowledge Database – PC X, X Windows, X 11 & More – StarNet

Posted by jpluimers on 2021/11/17

[Wayback] How do I restart sshd on my Unix system | StarNet Knowledge Database – PC X, X Windows, X 11 & More – StarNet

RedHat and Fedora Core Linux

/sbin/service sshd restart

Suse linux

/etc/rc.d/sshd restart

Debian/Ubuntu

/etc/init.d/sshd restart

Solaris 9 and below

/etc/init.d/sshd stop
/etc/init.d/sshd start

Solaris 10

svcadm disable ssh
svcadm enable ssh

AIX

stopsrc -s sshd
startsrc -s sshd

HP-UX

/sbin/init.d/secsh stop
/sbin/init.d/secsh start

Note that for opensuse, by now you need this to restart sshd:

/usr/sbin/rcsshd restart

Edit 20211118: some tweets in reaction to this post

–jeroen

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

 
%d bloggers like this: