Thread: [Fremantle Maemo5] [Announce] OpenSSH status widget
View Single Post
Posts: 136 | Thanked: 263 times | Joined on Nov 2012 @ Germany
#87
Originally Posted by xes View Post
Thank you for the update.
Sadly, it seems that it can't detect the ssh client session since the wifi power status remains unchanged.
Hmmm, on my device I check wifi pm with
Code:
sudo iwconfig
It says "on". Then, after doing
Code:
ssh USERNAME@NETWORK-IP
it says "off".

If you don't mind, you could check several things:

In /etc/ssh/ssh_config is there an entry saying:
Code:
PermitLocalCommand yes
localCommand /usr/lib/openssh/session_client
Does /usr/lib/openssh/session_client exist?

In /usr/lib/openssh/wifi-power-management does line 22 contain
Code:
grep ssh
or
Code:
grep sshd:
?

With an active client connection and no server connections what does
Code:
ps | grep wifi
say? Is /usr/lib/openssh/wifi-power-management running?
__________________
OpenSSH Status Widget (N900)
Start / stop / kill / restart / autostart server - View server status - View server and client connections - Switch wifi pm automatically

Simpler Brightness Applet (N900) - A variation of the Simple Brightness Applet
Short tap to toggle "keep backlight on" - Long tap to open display settings