Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Using Perl to do SCP

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


in reply to Using Perl to do SCP

Tried Net::SFTP?


Tradez
"Never underestimate the predictability of stupidity"
- Bullet Tooth Tony, Snatch (2001)

Replies are listed 'Best First'.
Re^2: Using Perl to do SCP
by Rhys (Pilgrim) on Sep 15, 2004 at 21:18 UTC
    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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://391265]
help
Chatterbox?
[LanX]: it was just after Trump-ageddon and the Americans thought I'm ridiculing them ;)
Discipulus was not the title a bit provoking? ;=)
[LanX]: I have a degree in cynism. ..
LanX is the PROVO-KING

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (8)
As of 2017-11-20 19:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (292 votes). Check out past polls.

    Notices?