Operating System - HP-UX
1833852 Members
1849 Online
110063 Solutions
New Discussion

Re: TCP/IP failure code 2

 
Mott Given
Frequent Advisor

TCP/IP failure code 2

I am trying to sftp2 a file using F-Secure SSH 3.2.3 (build 14) on hppa2.0w-hp-hpux11.00.
The error message I get is
warning: connecting to host A failed: TCP/IP failure
warning: child process (/usr/local/bin/ssh2) exited with code 2.

What does this error message mean and how do I fix my problem?
4 REPLIES 4
Piergiacomo Perini
Trusted Contributor

Re: TCP/IP failure code 2

Hi Mott,

i never use ssh2 but "doing some google search" maybe your error message is something to do with 'access violation' (maybe short path instead absolut path of a file).

hth
regards
pg
Peter Godron
Honored Contributor

Re: TCP/IP failure code 2

Mott,
do BOTH machines 'talk' ssh2 ?
Mott Given
Frequent Advisor

Re: TCP/IP failure code 2

Both machines can use ssh2.
rick jones
Honored Contributor

Re: TCP/IP failure code 2

Unless the error code is documented in the manpage for ssh2 (assuming there is one) you need to look in the source, but then I'm not sure if F-Secure SSH 3.2.3 is open-source.

Might try the F-Secure website.

Might try taking a system call trace to see what the actuall errno values are on the failing socket call(s). Under HP-UX that would be done with the tusc utility. Probably want to have tusc follow forks and provide verbose output.

And then make sure a defect is filed against the software for having insufficient information in their error messages.
there is no rest for the wicked yet the virtuous have no pillows