in reply to Net::SSH2 Question - again-

If you want use a shell through a ssh connection, why use perl at all? ssh does it just fine.

Usually you use perl for this sort of thing if you want to automate something, in which case you don't need a shell.