HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

sftp on alpha vms 7.3-2

 
SOLVED
Go to solution
robert70
Valued Contributor

sftp on alpha vms 7.3-2

Hello
Having trouble running SFTP on an Alpha DS20E
getting this:-

$ sftp2 ftpjcqt@128.11.56.61
warning: Unrecognized configuration parameter 'AuthorizationFile'.
warning: Failed to parse some variables from config file '/etc/ssh2/ssh2_config'
.
warning:

******************

You may have an old style configuration file. Please follow the
instructions in the release notes to use the new configuration
files.

******************


tcpip$ssh_ssh2: FATAL: Error reading config file /etc/ssh2/ssh2_config.

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


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


$ tcpip show version

HP TCP/IP Services for OpenVMS Alpha Version V5.4 - ECO 7
on a COMPAQ AlphaServer DS20E 666 MHz running OpenVMS V7.3-2

$ sftp "-V"
$1$dga2:[sys0.syscommon.][sysexe]tcpip$ssh_sftp2.exe: SSH Secure Shell OpenVMS (
V5.5) 3.2.0 on COMPAQ AlphaServer DS20E 666 MHz - VMS V7.3-2

Any clues please?
Regards
3 REPLIES
Duncan Morris
Honored Contributor
Solution

Re: sftp on alpha vms 7.3-2

Roger,

may I suggest that you read through the release notes for TCPIP?

From: sys$help:TCPIP54ECO07.RELEASE_NOTES

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

Duncan

Duncan Morris
Honored Contributor

Re: sftp on alpha vms 7.3-2

Roger,

the specific error

warning: Unrecognized configuration parameter 'AuthorizationFile'.
warning: Failed to parse some variables from config file '/etc/ssh2/ssh2_config'


suggests that you may have accidently copied sshd2_config to ssh2_config, since the parameter "AuthorizationFile" should only exist in sshd2_config.

The sshd2_config file is for the server configuration, whilst ssh2_config is the client configuration.


Duncan
robert70
Valued Contributor

Re: sftp on alpha vms 7.3-2

Duncan
Fantastic
Your 1st post here did the trick!
Many Thanks
Roger