Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Net::SFTP::Foreign doesn't work with some Alcatel equipment

by salva (Canon)
on Nov 11, 2014 at 08:11 UTC ( [id://1106784]=note: print w/replies, xml ) Need Help??


in reply to Net::SFTP::Foreign doesn't work with some Alcatel equipment

Basically that logs tells you that the password is wrong.

Are there any special characters there? you may need to escape them on your perl code.

  • Comment on Re: Net::SFTP::Foreign doesn't work with some Alcatel equipment

Replies are listed 'Best First'.
Re^2: Net::SFTP::Foreign doesn't work with some Alcatel equipment
by jmontero101 (Initiate) on Nov 11, 2014 at 08:29 UTC
    Hello Salva, thanks for your quick reply
    The password is in the example "ANS#150" I've escape this password "ANS\#150" and doesn't work either
    I'm very frustrated . . . :-(
      Once you are completely sure that the IP, username and password are right, next step is to use tusc to see what's happening at the OS level and compare the successful manual login with the unsuccessful automated one.

      Hey, look at this bug report: https://rt.cpan.org/Ticket/Display.html?id=67576, it seems you are not the first one facing that issue!!!

      Once upon a time, HP offered free access to HP-UX machines for FLOSS developers and I was able to test Net::SFTP::Foreign there, but they stopped doing that so now, troubleshooting on that platform is mostly on the hands of its users.

        Hello again

        I've tried to connect with the password ecaped correctly an it works.

        Thank you very much for yor help

        But I have another problem and I dont know to resolve it

        When I've connected with the server and I've tried to upload a file, I've received this message

        .... debug1: Authentication succeeded (password). Authenticated to 172.23.102.133 ([172.23.102.133]:22). debug2: fd 5 setting O_NONBLOCK debug2: fd 6 setting O_NONBLOCK debug1: Final hpn_buffer_size = 2097152 debug1: HPN Disabled: 1, HPN Buffer Size: 2097152 debug1: channel 0: new [client-session] debug3: ssh_session2_open: channel_new: 0 debug2: channel 0: send open debug1: Entering interactive session. debug2: callback start debug2: client_session2_setup: id 0 debug1: Sending subsystem: sftp debug2: channel 0: request subsystem confirm 1 debug2: fd 4 setting TCP_NODELAY debug2: callback done debug2: channel 0: open confirm rwindow 8192 rmax 4096 debug2: channel_input_status_confirm: type 99 id 0 debug2: subsystem request accepted on channel 0 debug2: channel 0: rcvd adjust 9 #7034 1415804742.00000 _do_io: _do_io read sysread: 9, total read: 9, +$!: #7034 1415804742.00000 _get_msg: got it!, len:5, code:2, id:-, status: + - #7034 1415804742.00000 _rel2abs: '/pub/OntSw/Download/pltComandos' --> + '/pub/OntSw/Download/pltComandos' #7034 1415804742.00000 put: local file size is 276663 #7034 1415804742.00000 _rel2abs: '/pub/OntSw/Download/pltComandos' --> + '/pub/OntSw/Download/pltComandos' #7034 1415804742.00000 _queue_msg: queueing msg len: 52, code:3, id:0 +... [1] #7034 1415804742.00000 _get_msg: waiting for message... [1] #7034 1415804742.00000 _do_io: _do_io connected: 1 #7034 1415804742.00000 _do_io: _do_io select(-,-,-, 30) #7034 1415804742.00000 _do_io: _do_io write queue: 56, syswrite: 56, m +ax: 65536, $!: #7034 1415804742.00000 _do_io: _do_io select(-,-,-, 30) #7034 1415804742.00000 _do_io: _do_io read sysread: 33, total read: 33 +, $!: #7034 1415804742.00000 _get_msg: got it!, len:29, code:102, id:0, stat +us: - #7034 1415804742.00000 open: new remote file '/pub/OntSw/Download/pltC +omandos' open, rid: 00 00 00 31 04 07 01 07 04 07 01 07 00 00 00 00 00 00 00 00 + | ...1................ #7034 1415804742.00000 _queue_msg: queueing msg len: 37, code:10, id:1 + ... [1] #7034 1415804742.00000 _get_msg: waiting for message... [1] #7034 1415804742.00000 _do_io: _do_io connected: 1 #7034 1415804742.00000 _do_io: _do_io select(-,-,-, 30) #7034 1415804742.00000 _do_io: _do_io write queue: 41, syswrite: 41, m +ax: 65536, $!: #7034 1415804742.00000 _do_io: _do_io select(-,-,-, 30) debug2: channel 0: rcvd adjust 56 debug2: channel 0: rcvd adjust 41 #7034 1415804742.00000 _do_io: _do_io read sysread: 13, total read: 13 +, $!: #7034 1415804742.00000 _get_msg: got it!, len:9, code:101, id:1, statu +s: 8 Use of uninitialized value in join or string at /opt/perl_64/lib/site_ +perl/5.8.8/Net/SFTP/Foreign/Common.pm line 41. #7034 1415804742.00000 _set_status: _set_status code: 8, str: Operatio +n unsupported #7034 1415804742.00000 _set_error: _set_err code: 24, str: Couldn't se +tstat remote file: Operation unsupported #7034 1415804742.00000 DESTROY: Net::SFTP::Foreign::FileHandle=GLOB(0x +60000000008d0b00)->DESTROY called (sftp: Net::SFTP::Foreign=HASH(0x60 +0000000083b580)) #7034 1415804742.00000 _queue_msg: queueing msg len: 29, code:4, id:2 +... [1] #7034 1415804742.00000 _get_msg: waiting for message... [1] .....
        I don't know what happens. Cna you help me, please Thanks a lot

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2024-04-18 03:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found