Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

SCP transfer from unix to vms fails

 
SOLVED
Go to solution
Fredrik.eriksson
Valued Contributor

SCP transfer from unix to vms fails

Hi,

I have a little conumbrum... We're trying to transfer files from a Solaris 10 machine to a OpenVMS 7.3-2.
The requirements we have is that there's no password so we choose public-key authentication. The public-key authentication works if you use try to pass commands via:
ssh @ .
But it doesn't work to scp a file from the unix -> openvms using:
scp file.txt @:~
Or if the ~ is replaced by a full path.
From what I can see in the logfiles it does authenticate and accept the public-key authentication but something else fails and I can't seem to find where and what.

I've attached a log containing the logs from both solaris and from vms.

Anyone ever seen this before?

Best regards
Fredrik Eriksson
9 REPLIES 9
Wim Van den Wyngaert
Honored Contributor

Re: SCP transfer from unix to vms fails

I think you are mixing SSH and OpenSSH. The keys must be converted.

Wim
Wim
Richard Whalen
Honored Contributor
Solution

Re: SCP transfer from unix to vms fails

It looks like the public key authentication worked fine.

If the Unix side is using OpenSSH, then its SCP is probably equivalent to RCP over SSH, and TCP/IP Services does not offer this functionality. TCP/IP Services only supports the SFTP protocol, so you may have to use SFTP instead of SCP.

Process Software's MultiNet, TCPware, and SSH for OpenVMS product support the "RCP over SSH" implementation of SCP.
Fredrik.eriksson
Valued Contributor

Re: SCP transfer from unix to vms fails

Hi again :)

Wim, the keys as I said works fine. They've already been converted.

Richard, I've tried sftp also, problem with that is that it hangs when it's supposed to exit and doesn't return a prompt.
We are using the RCP solution at the moment but our unix group doesn't want us to use that and wants us to use SCP. This is why I'm trying to figure out why it doesn't work.

Thou I ran into another thread that i missed completely where you already answered this :P
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=979727

So basiclly my options are:
1) Fix sftp so it doesn't hang or use standard ftp.
2) Buy SSH and get rid of the openSSH
3) Continue using RCP (to the unix-admins wrath :P)

Did I get it right?

Best regards
Fredrik Eriksson
Wim Van den Wyngaert
Honored Contributor

Re: SCP transfer from unix to vms fails

Did you try to reverse the path : use Solaris as server and sftp from VMS ?

Wim (on multinet)
Wim
Wim Van den Wyngaert
Honored Contributor

Re: SCP transfer from unix to vms fails

Did you try to reverse the path : use Solaris as server and sftp from VMS ?

Wim
Wim