in reply to Perl CGI SSH
In my opinion, you'd have to create a separate process to keep the ssh connection open, then connect to it from the CGI each time the CGI is called with new information from the web client.
Naturally, you'll have to count with the possibility of having more than one ssh connection open at the same time, so you'll have to have a way to connect to correct ssh "connector".
I strongly suggest you use CGI::Session to keep the identifying value only on your server, and NOT visible to the user - if the user can see it, they can usualy change it, and that would be a big security risk.
For some ideas on how to communicate between the CGI and the SSH connector, read perlipc
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Perl CGI SSH
by BUU (Prior) on May 02, 2004 at 07:06 UTC | |
by matija (Priest) on May 02, 2004 at 07:12 UTC | |
|
Re: Re: Perl CGI SSH
by JoeJaz (Monk) on May 02, 2004 at 05:56 UTC |