NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
ping ssh


Joined: 22 May 2004
Posts: 76
Reply with quote
Hi,

For security purposes some of the servers I work on have their ssh set to time out in a matter of seconds if they don't detect usuage. However this is annoying as I have to keep logging in again because I lose my connection.

Does PHPed provide away to ping the ssh to make it look like i'm doing something? If not then this is a feature request.

Thanks,
Jeff
View user's profileFind all posts by jphilapySend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
SSH daemon like widely used Openssh's sshd can send "keep-alive" packets. See its man page for the settings details.
I hope it helps.
Personally, I see no reason for considering it as a "securing" way. To do it, I'd better set a shorter rekeying period. It is number of packets to be sent before next re-keying handshake negothiated. Good value is 1000 or about. Another secured way is "public key" based authentication. Local key can be protected with password.
As of session timeout, it's good when set to tens minutes or more, not seconds, or it brings more headache than safety.
View user's profileFind all posts by dmitriSend private messageVisit poster's website
ping ssh
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic