Operating System - HP-UX
1824638 Members
4652 Online
109672 Solutions
New Discussion юеВ

scp1 compatibility mode is not supported

 

scp1 compatibility mode is not supported

I'm trying to send files from HPUX machine to VMS-alpha. Sending from Alpha to Ux works like a dream.

The message; scp1 compatibility mode is not supported.

Appears on the HPX.

> SSH -v
reveals;
OpenSSH_4.1, OpenSSL 0.9.7e 25 Oct 2004
HP-UX Secure Shell-A.04.00.001, HP-UX Secure Shell version

> scp -1 file.txt user@machine.domain.xx:/disk/dir
gives me;
scp1 compatibility mode is not supported.

> scp -2 file.txt ...etc
gives me;
Protocol major versions differ: 1 vs. 2
lost connection

In usenet I can find lot of info but not specific to my problem. It either states that you should update the UX software but it doesn't say to what level. It also states to make the SCP on VMS compatible with scp1 but it doesn't say how.

Everything is fine for the rest, SSH, SFTP they all work exept scp from UX to Alpha, and guess what our client would like to use....

If you have suggestions don't hesitate to post!
Resistance is not an option.
2 REPLIES 2
Chris Warne_1
Advisor

Re: scp1 compatibility mode is not supported

Sorry Bert - not a suggestion!
But I was wondering if you had managed to resolve this issue, as I've got exactly the same problem and can't seem to fix it.
(I'm using Linux to SCP to VMS, and get the "scp1 compatibility mode is not supported" error regardless of whether I specific -1 or -2 in the SCP command)

Chris
Chris
Tom Ward_1
Honored Contributor

Re: scp1 compatibility mode is not supported

Hello Bart,

One host is running SSH version 1 protocol and one is running version 2 protocol. I not sure from your message which is which. I know nothing about VMS, so I'll deal with the HP end.

Please check the Protocol line in your sshd config at /opt/ssh/etc/sshd_config.

I'll bet it's set "Protocol 2". If so change it to be "Protocol 2,1" and then cycle sshd
cd /sbin/init.d
./secsh stop && ./secsh start

I think that'll fix it for you.

You can check which protocol your SSH is running by telneting to localhost port 22.
telnet localhost 22
It will show SSH-2.0-.. or SSH-1.?...

Regards,
Tom