Operating System - OpenVMS
1752815 Members
5963 Online
108789 Solutions
New Discussion юеВ

SSH & SCP is not working

 
Chand Basha
Advisor

SSH & SCP is not working

Multinet Process software
SSH & SCP is working fine for SYSTEM account on VMS but not for normal accounts.

When I try to login it asks for password over and over again.

One of the sshd.log file says that
WARNING: sshd2-auth: The client requested authentication method 'keyboard-interactive', that is not allowed for user `sftpuser'.

Please help.

Thanks,
Chand
5 REPLIES 5
Arch_Muthiah
Honored Contributor

Re: SSH & SCP is not working

Hi Chand,

Check this file SSH2_DIR:SSHD2_CONFIG and make sure the values against the following keywords AllowedAuthentications,AllowUsers, and AuthInteractiveFailureTimeout.

I think the specofic user name should be listed in "AllowUsers" category


Archunan
Regards
Archie
Chand Basha
Advisor

Re: SSH & SCP is not working

I checked the log file, the AllowedAuthentications parameter is having the value as publickey,password. And the AllowedUsers is commented out and the last parameter AuthInteractiveFailureTimeout is not present in the configuration file.

SSH and SCP is working fine in development machine but it is not working in production. The configuration file is same for both.

When I debug the ssh command, after entering the password it is failing in the SSHAUTHC.C routine.
The error message is
debug: (08:04:57)Ssh2AuthPasswdClient/AUTHC-PASSWD.C;2:68: auth_password op = 3
user = bashac
debug: (08:04:57)Ssh2AuthClient/SSHAUTHC.C;1:600: process_failure cont = 0
Wim Van den Wyngaert
Honored Contributor

Re: SSH & SCP is not working

Richard Whalen
Honored Contributor

Re: SSH & SCP is not working

Add "keyboard-interactive" to the list of AllowedAuthentications in SSH2_DIR:SSHD2_CONFIG.

Also make sure that the protection of SSH2_DIR:SSHD2_CONFIG. allows the user to read the file.
Chand Basha
Advisor

Re: SSH & SCP is not working

The issue was the account on production was not having remote access.

Problem is resolved.

Thanks for your replys on this thread