in reply to Net::SSH::Perl Module Problem
I do not think this is possible with Net::SSH::Perl. I used this module recently and I don't remember seing any methods for doing such a thing.
I think what you want to use is probably IO::Socket. This should let you listen to a port and do an appropriate action. If you need to actually read what is being passed, however, you will run into some problems, since SSH is encrypted. In this case, you might be able to use a different implementation of IO::Socket.
I do believe that there is an IO::Socket::SSL, or something like that. I would think that this might allow you to communicate with SSH, since I believe that SSH uses SSL for its encryption.
Hope this helps.
|
|---|