Difference between revisions of "Systemctl status sshd"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Tags: Mobile web edit, Mobile edit
Line 1: Line 1:
 +
<pre>
 +
systemctl status ssh
 +
● ssh.service - OpenBSD Secure Shell server
 +
    Loaded: loaded (/lib/systemd/system/ssh.service; enabled; vendor preset: enabled)
 +
    Active: active (running) since Thu 2021-04-15 13:12:02 UTC; 5 days ago
 +
      Docs: man:sshd(8)
 +
            man:sshd_config(5)
 +
    Process: 812 ExecStartPre=/usr/sbin/sshd -t (code=exited, status=0/SUCCESS)
 +
    Process: 451365 ExecReload=/usr/sbin/sshd -t (code=exited, status=0/SUCCESS)
 +
    Process: 451366 ExecReload=/bin/kill -HUP $MAINPID (code=exited, status=0/SUCCESS)
 +
  Main PID: 848 (sshd)
 +
      Tasks: 1 (limit: 1073)
 +
    Memory: 14.4M
 +
    CGroup: /system.slice/ssh.service
 +
            └─848 sshd: /usr/sbin/sshd -D [listener] 0 of 10-100 startups
 +
</pre>
 +
  
 
<pre>
 
<pre>

Revision as of 07:55, 21 April 2021

systemctl status ssh
● ssh.service - OpenBSD Secure Shell server
     Loaded: loaded (/lib/systemd/system/ssh.service; enabled; vendor preset: enabled)
     Active: active (running) since Thu 2021-04-15 13:12:02 UTC; 5 days ago
       Docs: man:sshd(8)
             man:sshd_config(5)
    Process: 812 ExecStartPre=/usr/sbin/sshd -t (code=exited, status=0/SUCCESS)
    Process: 451365 ExecReload=/usr/sbin/sshd -t (code=exited, status=0/SUCCESS)
    Process: 451366 ExecReload=/bin/kill -HUP $MAINPID (code=exited, status=0/SUCCESS)
   Main PID: 848 (sshd)
      Tasks: 1 (limit: 1073)
     Memory: 14.4M
     CGroup: /system.slice/ssh.service
             └─848 sshd: /usr/sbin/sshd -D [listener] 0 of 10-100 startups


● ssh.service - OpenBSD Secure Shell server
     Loaded: loaded (/lib/systemd/system/ssh.service; enabled; vendor preset: enabled)
     Active: active (running) since Thu 2020-11-26 14:09:03 UTC; 3 days ago
       Docs: man:sshd(8)
             man:sshd_config(5)
    Process: 556 ExecStartPre=/usr/sbin/sshd -t (code=exited, status=0/SUCCESS)
   Main PID: 570 (sshd)
      Tasks: 1 (limit: 38089)
     Memory: 10.5M
     CGroup: /system.slice/ssh.service
             └─570 sshd: /usr/sbin/sshd -D [listener] 0 of 10-100 startups

Nov 30 07:22:50 HOSTNAME sshd[1052334]: Accepted password for USERNAME from 10.10.10.10 port 54040 ssh2
Nov 30 07:22:50 HOSTNAME sshd[1052334]: pam_unix(sshd:session): session opened for user USERNAME by (uid=0)
Nov 30 07:23:00 HOSTNAME sshd[1052382]: Accepted password for USERNAME from 10.10.10.10 port 54082 ssh2
Nov 30 07:23:00 HOSTNAME sshd[1052382]: pam_unix(sshd:session): session opened for user USERNAME by (uid=0)
Nov 30 07:23:45 HOSTNAME sshd[1052464]: Accepted password for USERNAME from 10.10.10.10 port 54247 ssh2
Nov 30 07:23:45 HOSTNAME sshd[1052464]: pam_unix(sshd:session): session opened for user USERNAME by (uid=0)
Nov 30 07:23:50 HOSTNAME sshd[1052507]: Accepted password for USERNAME from 10.10.10.10 port 54262 ssh2
Nov 30 07:23:50 HOSTNAME sshd[1052507]: pam_unix(sshd:session): session opened for user USERNAME by (uid=0)
Nov 30 07:24:00 HOSTNAME sshd[1052557]: Accepted password for USERNAME from 10.10.10.10 port 54302 ssh2
Nov 30 07:24:00 HOSTNAME sshd[1052557]: pam_unix(sshd:session): session opened for user USERNAME by (uid=0)

See also

Advertising: