Just to conclude, there is no way to use Net::OpenSSH with only one session ?
OpenSSH command line client opens only one session and it works even with this buggy implementation.
You are right that router's implementation is bad but I can do nothing about that. It's legacy device and there are no chances for new fixed version. I don't have to use Net::Telnet. Having it would make migrating some scripts easier but it's not a must have.
What I don't like in Net::SSH::Any::Backend::Ssh_Cmd it that is going to open a new connection for each command. Right ?
Anyway, thanks for your help
Pawel
In reply to Re^4: Net::OpenSSH multiple sessions and legacy KEX problem
by pwlodawi
in thread Net::OpenSSH multiple sessions and legacy KEX problem
by pwlodawi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |