All,
My task got failed with the below reasons. Any suggestions please
User siva does not exist on app server 1
User siva was able to SSH into app server 1, however user should only be allowed to make SFTP connection.
User siva is not able to make SFTP connections
@swaroopcs88 I did follow your article you posted but not sure where I went wrong.
Thanks,
Santhosh
First thing, you need to login to app server 1 according to your post.
then, need to create the user named siva and set the password as given in your question.
then , create the directory as given in question.
then, need to change/add some configurations in /etc/ssh/sshd_config file
Match User siva
ForceCommand internal-sftp
PasswordAuthentication yes
ChrootDirectory /var/www/data
PermitTunnel no
AllowAgentForwarding no
AllowTcpForwarding no
X11Forwarding no
Save the file and restart the sshd service.
If you have not follow above steps then there is high chance that your task will get failed.
1 Like