Notices


Reply
Thread Tools
2disbetter's Avatar
Posts: 365 | Thanked: 98 times | Joined on Nov 2009
#1
When a session is terminated via the exit command on the host computer, does this also stop the ssh client on the n900? I'm asking because it seems like my battery drain is much higher lately.

Also with a ssh session active, is this battery intensive? (ie does ssh protocol allow for lulls in traffic, to reduce bandwidth and cpu processes when not actively active)

Last question, does anyone know if there is a way to position the mouse cursor within VNC Viewer without resulting in a mouse click?

This would be useful for pop up boxes, and popout menus.

2d
 
Posts: 116 | Thanked: 75 times | Joined on Nov 2009
#2
Originally Posted by 2disbetter View Post
When a session is terminated via the exit command on the host computer, does this also stop the ssh client on the n900? I'm asking because it seems like my battery drain is much higher lately.
the host computer does not connect to a client, it connects to the server but no, the server is not stopped on the n900 but it should not use much power because it runs in the background as a daemon.

Originally Posted by 2disbetter View Post
Also with a ssh session active, is this battery intensive? (ie does ssh protocol allow for lulls in traffic, to reduce bandwidth and cpu processes when not actively active)
yes, unless you are monitoring an interactive process like top, irssi or rtorrent.
 
SubCore's Avatar
Posts: 850 | Thanked: 626 times | Joined on Sep 2009 @ Vienna, Austria
#3
Originally Posted by 2disbetter View Post
When a session is terminated via the exit command on the host computer, does this also stop the ssh client on the n900? I'm asking because it seems like my battery drain is much higher lately.
yes.
to verify, you can run
Code:
ps aux | grep ssh
on the client.
"sshd" is the ssh server and supposed to be running, "ssh" is the client. no "ssh" process should be running after disconnecting every session.

edit:
i'm not sure i understood you correctly - you are talking about sessions initiated from the N900 (ssh client) to another host (ssh server)?

Also with a ssh session active, is this battery intensive? (ie does ssh protocol allow for lulls in traffic, to reduce bandwidth and cpu processes when not actively active)
yes, ssh will only send something when there's input/output. i haven't noticed any drain with ssh.

Last question, does anyone know if there is a way to position the mouse cursor within VNC Viewer without resulting in a mouse click?
not that i know of. right-click (right volume button + tap on screen) doesn't help you?
__________________
"What we perceive is not nature itself, but nature exposed to our method of questioning."
-- Werner Karl Heisenberg
 
2disbetter's Avatar
Posts: 365 | Thanked: 98 times | Joined on Nov 2009
#4
thanks for the replies and forgive my faulty terminology. SSH is still relatively new to me. (I posed the question as I did becuase when a session has been initiated, and the user (N900 client) is able to access the host's shell this would be the situation. When me, as the user on the n900 types exit into the shell to disconnect. The command is actually being actioned on the host computer and not on the N900. hope that clears that up some)

Right click would not work, as the mouse cursor just needs to be positioned. This is useful for popouts, and menus which do not need to be clicked in order to access more menu items.

2d

Last edited by 2disbetter; 2010-01-20 at 12:10.
 
SubCore's Avatar
Posts: 850 | Thanked: 626 times | Joined on Sep 2009 @ Vienna, Austria
#5
Originally Posted by 2disbetter View Post
When me, as the user on the n900 types exit into the shell to disconnect. The command is actually being actioned on the host computer and not on the N900.
okay, so i did understand you correctly
my above answer applies, no ssh client is running after disconnecting.
__________________
"What we perceive is not nature itself, but nature exposed to our method of questioning."
-- Werner Karl Heisenberg
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 07:56.