![]() |
[Announce] OpenSSH status widget
4 Attachment(s)
This OpenSSH status widget provides a GUI to control the OpenSSH daemon as well as wifi power management from the status menu in many useful ways:
The attached image shows the button when
A short tap on the main button starts the server and stops it without closing active connections. A long tap on the main button either shows a configurable dialog or disconnects and stops the server instantly. When tracking is disabled the number of connections can be called up additionally. A short tap on the wifi pm button keeps wifi pm off for 30 seconds. This solves login problems caused by wifi pm. A long tap on the wifi pm button opens wifi pm settings. Settings can be accessed from the dialog window or by opening "OSW Options" in the application menu, category desktop. OpenSSH Status Widget can be found in Extras-testing and Extras-devel. Download of the latest deb file is available from the package website. |
Re: [Announce] OpenSSH status widget
nice nice i had been playing with ssh lately this will help .
btw add announce to thread title or it looks like help thread |
Re: [Announce] OpenSSH status widget
Thanks for this - I was looking for such a tool for some time now.
Here ist the first feedback: 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? |
Re: [Announce] OpenSSH status widget
Quote:
|
Re: [Announce] OpenSSH status widget
Quote:
Code:
#start on stopped rcS Quote:
Code:
ps aux | grep sshd: | grep -c @ I just uploaded v1.0-2 with corrected status detection when an error occurs. |
Re: [Announce] OpenSSH status widget
Thanks for the feedback and notes. I commented out the 2 lines and installed the new version. Now it works!
|
Re: [Announce] OpenSSH status widget
One more feedback in regards to this handy little tool:
If the sshd gets started from the command line, the widget show as status "off". It then also does not show the number of ssh connections. |
Re: [Announce] OpenSSH status widget
Quote:
At the moment when you start the server from command line for some reason you can make the widget start tracking just by pressing its button. The widget will recognize and display the server's real status and in addition give a respective note. I think about adding a configuration window with an autostart option and an optional confirmation dialog when closing active connections. So maybe an option to keep tracking when the server is off might also be added. |
Re: [Announce] OpenSSH status widget
A new version 1.1-2 is uploaded.
Main change is a new configuration dialog, see attached image in post #1. The default behaviour is now to keep tracking server status even when the server is off. This can be turned off if there's worry about battery drain. The configuration dialog has no "save" button, changes are saved instantly. But for the widget options to be applied in the current session the status menu has to be restarted. This can be done from the main menu. I also added detection of a conflicting server configuration in /etc/event.d/sshd. So i hope the widget is now ready to use in any case.:) Changes in v1.1-0: *added optional confirmation dialog when disconnecting *changed default configuration to keep tracking when off *added configuration window with 3 options: autostart, confirm when disconnecting, stop tracking when off *added system check for conflicting "respawn" option with optional correction Changes in v1.1-1: *typo bugfix Changes in v1.1-2: *small change: make sure /etc/event.d/sshd has correct 'start on' entry |
Re: [Announce] OpenSSH status widget
Thanks for this rasmarc! :) At the moment I'm using the 'SSH Status and Switcher' status-applet, but it doesn't show if there are any current connections, so I'd like to check yours out.
Is there any chance you could place the deb here in the first post? I don't have extras-devel enabled. |
All times are GMT. The time now is 15:06. |
vBulletin® Version 3.8.8