Hi Tom,
According to the man page, you cannot send KeepAlive a particular
command. It only accepts yes or no. :)
If you want, you can always start a script that does what you want.
Just set an infinite loop and let it sleep every 150 seconds (if you
want 5 minutes).
-Anne
On Thu, Jun 15, 2000 at 03:25:57PM -0500, 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
>
-------------------------------------------------------------------------
Anne Carasik | Economists state their GNP growth
Principal Consultant | projections to the nearest tenth of
SSH Communications Security, Inc. | a percentage point to prove they have
Email: [EMAIL PROTECTED] | a sense of humor. -Edgar R. Fiedler
-------------------------------------------------------------------------
Unless stated otherwise above, the opinions expressed herein are my own,
not of my employer.