Re: checking ssh server is running

2019-10-07 Thread Greg Wooledge
On Mon, Oct 07, 2019 at 04:00:43PM +0100, mick crane wrote: > Are all [systemd] services daemons ? No. Systemd services have "types". Some of these types (simple, forking) can reasonably be called daemons, because they run a program, or suite of programs, which is expected to stick around for a

Re: checking ssh server is running

2019-10-07 Thread mick crane
On 2019-10-07 14:28, Greg Wooledge wrote: On Sat, Oct 05, 2019 at 08:42:51PM +0100, mick crane wrote: after checking through /etc/ssh/sshd_config on the server basic use is systemctl start sshd.service systemctl stop sshd.service systemctl restart sshd.service systemctl enable sshd.service (

Re: checking ssh server is running

2019-10-07 Thread Greg Wooledge
On Sat, Oct 05, 2019 at 08:42:51PM +0100, mick crane wrote: > after checking through /etc/ssh/sshd_config on the server > basic use is > systemctl start sshd.service > systemctl stop sshd.service > systemctl restart sshd.service > systemctl enable sshd.service ( should start sshd at boot ) >

Re: checking ssh server is running

2019-10-05 Thread tomas
On Sat, Oct 05, 2019 at 08:03:31PM +0100, Paul Sutton wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA512 > > > > On 05/10/2019 17:15, mick crane wrote: > > On 2019-10-05 17:01, Paul Sutton wrote: > >> Hi > >> > >> I am trying to figure out how to check if ssh is running using > >>

Re: checking ssh server is running

2019-10-05 Thread mick crane
On 2019-10-05 20:03, Paul Sutton wrote: On 05/10/2019 17:15, mick crane wrote: On 2019-10-05 17:01, Paul Sutton wrote: 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

Re: checking ssh server is running

2019-10-05 Thread Paul Sutton
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 05/10/2019 17:15, mick crane wrote: > On 2019-10-05 17:01, Paul Sutton wrote: >> 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

Re: checking ssh server is running

2019-10-05 Thread mick crane
On 2019-10-05 17:01, Paul Sutton wrote: 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 If it's the client on the same PC you'd know. if sshd "systemctl

checking ssh server is running

2019-10-05 Thread Paul Sutton
-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