SSH provides a secure network connection to a Linux system. On Fedora, we can easily start, stop the sshd status via command line. Here I want to show you how to check the status of the ssh server on Fedora 19.
Open Terminal and type the following commands
suIf your ssh server is running, you will get the following output on Terminal
service sshd status
[root@localhost liveuser]# service sshd status
Redirecting to /bin/systemctl status sshd.service
sshd.service - OpenSSH server daemon
Loaded: loaded (/usr/lib/systemd/system/sshd.service; disabled)
Active: active (running) since Sun 2013-10-27 03:44:08 EDT; 5s ago
Process: 2986 ExecStartPre=/usr/sbin/sshd-keygen (code=exited, status=0/SUCCESS)
Main PID: 3009 (sshd)
CGroup: name=systemd:/system/sshd.service
└─3009 /usr/sbin/sshd -D
Oct 27 03:44:08 localhost sshd-keygen[2986]: Generating SSH2 RSA host key: [...]
Oct 27 03:44:08 localhost sshd-keygen[2986]: Generating SSH1 RSA host key: [...]
Oct 27 03:44:08 localhost systemd[1]: Started OpenSSH server daemon.
Oct 27 03:44:09 localhost sshd[3009]: Server listening on 0.0.0.0 port 22.
Oct 27 03:44:09 localhost sshd[3009]: Server listening on :: port 22.
0 comments:
Post a Comment