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

Using SCP2 on VMS 7.3.2

 
SOLVED
Go to solution
Jörg Mohren
Advisor

Using SCP2 on VMS 7.3.2

Hello

When calling scp2 on VMS7.3.2, TCPIP 5.4, with the following command

scp2 dummy.txt "user@node"::

I get the result

warning: Unrecognized configuration parameter 'AuthorizationFile'
warning: Failed to parse some variables in 'etc/ssh2/ssh2_config'
warning: You may have a old style configuration file ...

I already changed the file tcpip$ssh_device:[tcpip$ssh.ssh2]ssh2_config by setting the variable DomainName to the name of my machine.

Can anybody help me?
7 REPLIES
Ian Miller.
Honored Contributor

Re: Using SCP2 on VMS 7.3.2

Was this system upgraded from an earlier verison of TCPIP? Are you up to date with TCP ECO kits?

You could compare your ssh2_config with the one in sys$library:tcpip$templates.tlb
____________________
Purely Personal Opinion
Jörg Mohren
Advisor

Re: Using SCP2 on VMS 7.3.2

I habe TCPIP 5.4 ECO 5. We have recently made an update from TCPIP 5.1.
The file sys$library:tcpip$templates.tlb cannot be read in the editor properly. How can I compare the files ?
Ian Miller.
Honored Contributor

Re: Using SCP2 on VMS 7.3.2

You have to extract the template file

$ LIB/EXTRACT=SSH2_CONFIG/OUT=SSH2_CONFIG.TXT SYS$LIBRARY:TCPIP$TEMPLATES.TLB


____________________
Purely Personal Opinion
Jörg Mohren
Advisor

Re: Using SCP2 on VMS 7.3.2

Looks fine for me, alle the lines that are not commented out having comparable values.
Jiri_5
Frequent Advisor
Solution

Re: Using SCP2 on VMS 7.3.2

after install eco 5 for TCPIP 5.4:

You may have an old style configuration file. Please follow the instructions in the release notes to use the new configuration files.
If the SSH client detects a user-specific configuration file from an older version of SSH, the SSH client will display the warning and will allow the user to proceed.
To preserve the modifications made to the SSH server configuration file and the SSH client configuration file, you must edit the templates provided with the new version of SSH, as follows:
1. Extract the template files using the following commands; be sure to include the dot character when specifying the file names SSH2_CONFIG. and SSHD2_CONFIG. :
$ LIBRARY/EXTRACT=SSH2_CONFIG SYS$LIBRARY:TCPIP$TEMPLATES.TLB -
_$ /OUT=TCPIP$SSH_DEVICE:[TCPIP$SSH.SSH2]SSH2_CONFIG.
$ LIBRARY/EXTRACT=SSHD2_CONFIG SYS$LIBRARY:TCPIP$TEMPLATES.TLB -
_$ /OUT=TCPIP$SSH_DEVICE:[TCPIP$SSH.SSH2]SSHD2_CONFIG.
These commands copy the new template files into the SSH2 configuration directory with a new version number.
2. Copy the modifications made in the old versions of the configuration files to the new versions.
3. Restart SSH using the following command:
$ @SYS$STARTUP:TCPIP$SSH_SHUTDOWN.COM
$ @SYS$STARTUP:TCPIP$SSH_CLIENT_SHUTDOWN.COM
$ @SYS$STARTUP:TCPIP$SSH_STARTUP.COM
$ @SYS$STARTUP:TCPIP$SSH_CLIENT_STARTUP.COM


it's in release notes for this eco.
Jörg Mohren
Advisor

Re: Using SCP2 on VMS 7.3.2

Hey, this worked fine. Thanks alot for all your help.
Jörg Mohren
Advisor

Re: Using SCP2 on VMS 7.3.2

I think from this point on I can solve the remaining problems by myself.