in reply to
Re: Using Perl to do SCP
in thread Using Perl to do SCP
Please remember, I'm using SCP to talk to a switch, not a server, so there isn't anything to accept an SFTP connection. I know it's all over port 22, but SFTP uses semantics that aren't available from this SSH service.
Case in point:
[user@mybox user]$ sftp Admin@10.11.12.62
Connecting to 10.11.12.62...
Request for subsystem 'sftp' failed on channel 0
Couldn't read packet: Connection reset by peer