Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: Using Perl to do SCP

by Rhys (Pilgrim)
on Sep 15, 2004 at 21:18 UTC ( #391301=note: print w/ replies, xml ) Need Help??


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... Admin@10.11.12.62's password: Request for subsystem 'sftp' failed on channel 0 Couldn't read packet: Connection reset by peer

--J


Comment on Re^2: Using Perl to do SCP
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://391301]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (9)
As of 2014-12-26 10:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (171 votes), past polls