Hi Tom,
KeepAlive doesn't send any 'command' over ssh connection, but merely just
enables keepalive socket option.
It's then up to the TCP/IP stack to see that the connection is intact.
(by sending packets with empty payload and checking ACK, as far as I
know).
Regards,
Heikki Nousiainen
On Thu, 15 Jun 2000, Tom DeSot wrote:
> I've checked the archives and the man pages, but I don't see anywhere how to
> do this so I'm going to ask.
>
> I want to use Keep Alive to keep the sessions up, but I'd like for it
> specifically to send an ls. How do I specify in the sshd_config file to
> send specifically that command?
>
> Tom