Thread: [Fremantle Maemo5] [Announce] OpenSSH status widget
View Single Post
Posts: 136 | Thanked: 263 times | Joined on Nov 2012 @ Germany
#5
Originally Posted by scy View Post
When I click on the widget to stop the server, it notifies me "Could NOT stop OpenSSH server!".

However, the widget then shows "off".

I tried to manually kill sshd. The sshd process gets restarted instantly.

How to solve this? And what also interests me: what is the command line instruction to count all ssh connections?
Thanks for the feedback. Please have a look at /etc/event.d/sshd and check if two lines are commented out:
Code:
#start on stopped rcS

#respawn
.
Originally Posted by scy View Post
And what also interests me: what is the command line instruction to count all ssh connections?
I used
Code:
ps aux | grep sshd: | grep -c @

I just uploaded v1.0-2 with corrected status detection when an error occurs.

Last edited by rasmarc; 2015-04-30 at 11:15.
 

The Following 2 Users Say Thank You to rasmarc For This Useful Post: