[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

checking ssh server is running



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi

I am trying to figure out how to check if ssh is running using systemD
which is of course what Debian and Raspbian use.

However my search term

system d check ssh server is running

Yielded

https://cplusprogrammer.wordpress.com/2016/10/17/how-to-check-if-ssh-is-
running-on-linux/

and	

https://ubuntuforums.org/showthread.php?t=1543474

Neither of which are to do with system D as requested but appear more
to do with systemv way of checking.

I think it is something like

systemctl ssh status as root.  But I am not 100 percent sure if the
service name is 100 percent correct. Is this the right command to use
please.


Like I said I have tried to search for the answer before asking,  is
there a way to improve my search criteria ?

but not quite sure on the service name, it is not running on my
desktop (well openssh-server isn't) so I can't simply run this on my
desktop.

Thanks for any help, I am sure I am 90% of the way there.

Regards

Paul


- -- 
Paul Sutton
http://www.zleap.net
gnupg : 7D6D B682 F351 8D08 1893  1E16 F086 5537 D066 302D
https://fediverse.party/ - zleap@social.isurf.ca
-----BEGIN PGP SIGNATURE-----
Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/

iQIzBAEBCgAdFiEEfW22gvNRjQgYkx4W8IZVN9BmMC0FAl2YvmgACgkQ8IZVN9Bm
MC1KdRAAo7Bd861uP3dvVQO1If7IUTY0bEFjOj2dj3FrrGhbC7s3HZlMuV8FBFTd
jzcQXtgkUQ1sAp9/9Af9DSCbmWgW2qpStym0Pq3O2Fa1ux57zdeoz2S78CGv67JE
lyQX1AYkytrMbBSoI/LnX3mOEamFduKTjDfNSoJc5RyDp8jwlNiQrknUVeG89OF6
v3WH0Z3FosoI6ki/Qgq1XdTKCxy7mFaL9o0tgVxdfCOuwDlBAI5rHFa5g/0qgVJd
wF72gq+c/4foUqlJHs1gG1cQIVcbxkZDah2O/tNL75GWLHuQNf+hLxiAPUUN1cEY
j25UXCP7sTM1MqrfO6SeWt+orsZw5bP6ojgP04CvO9W8YAs+vnRH9QOAOQpbiuMz
0K69zKgFZJiOoeDy6MtQcVIoumEvS7Ux17UKgCOKI1C9fbV5Dtxnihe5YQVpZkkR
2LiJPQqIg0bvbfwA8F+B2kqsvgKVUm9YSZIFcs1aS425T6EBDy1HhY+QZD8qbC9X
UyW3NDJC1dOgo6V0HKyAG8kswIpHb9hvlr9JlYDmyQ4/0TRoJ3gT2Y/+bfOC2tZ7
WMqOSJ5QYog9Q0BiG8YdSAmj6qcYMezYC3JhBH648vjT2uIB3u/D4ZZ64DhShC1x
ZWAcZ0Xg5ghTFXtnunZ1YuQIqiRtujWMyD0+ivuCySd0+7rN7/A=
=r+lJ
-----END PGP SIGNATURE-----


Reply to: