Operating System - OpenVMS
1748230 Members
4201 Online
108759 Solutions
New Discussion юеВ

problems in connection Open VMS to Unix using SFTP

 
Palak_1
New Member

problems in connection Open VMS to Unix using SFTP

I am trying to generate connection from Open VMS server to Unix.

I am using the following command but the system is not asking for the password to connect for the first time, where as other accounts are working properly on the same server.

sftp userid@ipaddress

below is the error:

Warning: child process (/sys$system/tcpip$ssh_ssh2) exited with code 196.


%TCPIP-E-SSH_FC_ERROR, error in ssh file transfer operation

Notes:
As per the server hosting team there are no difference between the accounts on the server.

Questions:
1. If the accounts are same why we are getting the error "child process (/sys$system/tcpip$ssh_ssh2) exited with code 196."
What changes are required in the account setup to avoid the above error.

2. Is there any way to generate the keys from one account and use the same from other account to remediate the above problem.
12 REPLIES 12
marsh_1
Honored Contributor

Re: problems in connection Open VMS to Unix using SFTP

hi,

which versions of vms and tcpip services are in use here ?
have you tried using the "-D" option to get more information on where it is failing ?
personally i would always use quotes around username@system strings to go to a unix server,
do you need it to be password auth ? using private / public keys is a lot easier and a bit more secure.
the openvms ssh manual is here for all the methods available and how to implement them :-

http://h71000.www7.hp.com/doc/732final/aa-rvbua-te/aa-rvbua-te.pdf

fwiw




Steven Schweda
Honored Contributor

Re: problems in connection Open VMS to Unix using SFTP

> [...] other accounts are working properly
> [...]

They _are_, or they _were_?

> [...] exited with code 196.

I know nothing, but:

ALP $ exit 196
%SYSTEM-F-GPTFULL, global page table is full

help /message GPTFULL

write sys$output f$getsyi( "free_gblpages")
Richard Whalen
Honored Contributor

Re: problems in connection Open VMS to Unix using SFTP

Since it comes from SSH the 196 is as likely to be a Unix error code as it as a VMS error code. Try connecting to the remote server with SSH and verify that you can connect and log in.
Palak_1
New Member

Re: problems in connection Open VMS to Unix using SFTP

the login is successfull using SSH to the unix server.

Can we perform the key exchange using SSH, if yes please provide set of commands to run.
The Brit
Honored Contributor

Re: problems in connection Open VMS to Unix using SFTP

Dont know if this is related.

I had a problem with a UNIX machine logging in to an OpenVMS machine using sftp. I dont remember exactly what the error code was, but I do remember the "Warning: child process exited..." messages (although these may be generic).

The OpenVMS machine was a BL860c running OpenVMS 8.3-1H1 and TCPIP Services 5.6 ECO3.

The problem turned out to be related to the LENGTH of the Username and the LENGTH of the Login Directory. If either or both of these had length=12 (char) then the sftp login would fail.

When you run out of hair, ask HP about this.

Dave.
marsh_1
Honored Contributor

Re: problems in connection Open VMS to Unix using SFTP

hi,

no, but you can try using scp

scp dev:[dir]file "user@ipaddress:dir/file"

hth

Richard Whalen
Honored Contributor

Re: problems in connection Open VMS to Unix using SFTP

Ok, since you can log in using SSH, then the question becomes "Is the Unix system configured to offer the SFTP subsystem over SSH?"

Try

$ sftp "-D 2" "user@ipaddress"
Steven Schweda
Honored Contributor

Re: problems in connection Open VMS to Unix using SFTP

> Since it comes from SSH the 196 is as
> likely to be a Unix error code as it as a
> VMS error code.

Our not knowing the probabilities does not
make them equal.

Another datum of questionable significance:

ALP $ search decc_include:errno.h ERRNO_MAX
#define __ERRNO_MAX 88 /* MUST equal largest errno value */
Bjorn Fido Lindgren
New Member

Re: problems in connection Open VMS to Unix using SFTP

Here's the info of versions in this problem:

HP TCP/IP Services for OpenVMS Alpha Version V5.4 - ECO 7
on a AlphaServer ES45 Model 2 running OpenVMS V7.3-2

/Bjorn