in reply to mod_perl persistent SSH connections
Even then, these modules will by default create a new session for every command run. If you want to keep the sessions open you will have to run a shell and talk to it through its STDIN/STDOUT channels. Expect may be useful for that (or Net::SSH::Expect).
|
|---|