That works but if there is a "better" way I'd like to know.
What could be better than a working solution? :)
Ok, seriously, I don't see a problem with doing it that way. And just in case you're worried this might be slower than a Net::SSH::Perl solution (had you gotten it to work), let me reassure you that it's most likely the other way round, despite the 'overhead' of calling an external binary...
In reply to Re: Connecting to STDIN and STDOUT over SSH
by almut
in thread Connecting to STDIN and STDOUT over SSH
by enemyofthestate
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |