Not sure, where did i make mistake, task submission failed with below error
“User james was able to SSH into app server 1, however user should only be allowed to make SFTP connection.
User james is not able to make SFTP connections”
Here’s the my /etc/ssh/sshd_config file configuration settings,
Did anyone faced this issue, Could someone check this? Thanks
As error says user was able to make SSH connection but not SFTP connection. But as per requirements shared in the question SSH must not work for user only SFTP connections should work.
Hi Inderpreet,
Can you please check why it got failed?
[root@stapp01 ~]# ssh [email protected]
The authenticity of host ‘172.16.238.10 (172.16.238.10)’ can’t be established.
ECDSA key fingerprint is SHA256:piuKeEVGLN6vHokyWOfV6diwsG4l5LJfXHf7ThSiEA0.
ECDSA key fingerprint is MD5:7d:ff:fb:0b:d7:34:0e:f3:49:7e:be:7d:fe:50:ab:c6.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added ‘172.16.238.10’ (ECDSA) to the list of known hosts. [email protected]’s password: This service allows sftp connections only. Connection to 172.16.238.10 closed.