in reply to Re^4: net::ssh::Perl connecting to f-secure ssh server
in thread net::ssh::Perl connecting to f-secure ssh server

If you're wanting to keep the connection going, you might take a look at Net::SSH2 (as opposed to Net::SSH). It appears to do what you want as well, but it's a wrapper around a library for SSH.
  • Comment on Re^5: net::ssh::Perl connecting to f-secure ssh server