any suggestions? should i change port but in question didn’t talk about ports and facing this port error.
Task successfully done.
hi @player001 @Inderpreet @vijin.palazhi @kodekloud-support3 @andrzej @peterwhite
as per install and configure sftp task:
I am verifying my results. can you please check and advise.
if all steps are completed correctly. thank you
thank you, was able to complete the task successfully.
can you paste your screenshot of what steps you are stuck with?
first i created the user jim by commad
useradd -d /var/www/nfsshare -s /sbin/nologin jim
then i set password for jim
then i make a directory
mkdir -p /var/www/nfsshare
then i install sshd service
yum install ssshd*
then i go to vim /etc/ssh/sshd_config file and i edit the lines and shared in the screenshot once done i am not able to restart sshd service and i dont know what all i have missed
what all the steps i have missed please tell me
kindly hep @swaroopcs88 @player001 @Inderpreet
Could you follow this article and let me know if you are stuck at any point.
I was able to complete the task using this article. ping me for any help.
sudo systemctl restart sshd.service
try this command.
i am creating useradd -s command i dont have any idea reguarding /bin/false so is it necessary to create user in /bin/false?
i have got this connection closed is the result is correct?
i was supposed to do sftp right
First of all you cannot connect this server with Filezilla. It’s a private server.
sudo journalctl -xe and share that error output.
You get this because the home directory for the user or the ChrootDirectory or chain of folders leading down to it must be owned by root.
Note that the owner of the destination directory must be “root”, and group/other users cannot have write permissions. The same with all the directory path:
chown root /path/to/destination
chown root /path/to
chown root /path
chmod g-w,o-w /path/to/destination
chmod g-w,o-w /path/to
chmod g-w,o-w /path
Thanks @deb task has been completed successfully!