Archived Forum Post

Index of archived forum posts

Question:

SSH keepalive; null packets?

Nov 09 '13 at 16:49

Using the SSH component - how do you keep the SSH session alive?

Other SSH clients like PuTTY know this as sending null packets.


Answer

I did some Googling and it looks like another term for a "SSH Null Packet" is an "Ignore Message". ChilkatSSH has a SendIgnore method, so you can try periodically calling this method (perhaps in a timer) to see if it will keep your connection alive (sorry, I have nothing to test it with here to know if it will work for sure, but I suspect it will).