Regarding Install And Configure SFTP task

Hi Team,

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,
image

Did anyone faced this issue, Could someone check this? Thanks

Hi @reddyv0424

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.

[root@stapp01 ~]# sftp [email protected]
[email protected]’s password:
Connected to 172.16.238.10.
sftp> ls
uploads
sftp>

@q69145 can’t find this task in your bucket, is this the one you mentioned about in another thread ?

yes Inderpreet, both are same. After you marked the task is ‘successful’, it is not showing in my daskboard.

Thanks,
Muthu

@Inderpreet,
Can you please update to me on this?

Thanks.

Hi @q69145

Sorry for delay, What is your email ID ?

@Inderpreet,
Email is [email protected]

@q69145 assigned SFTP task to you again, please give it an another try.

@Inderpreet, Thanks for your help. It worked now :slight_smile: .