Hi Friends,
I am changing path to some other folder in sshd. Config file in ProgramData. But by default it is listing c drive specific user list.It showing all the c drive files.
How to give Sftp user access to E drive folder for files transfer. How to create sftp credentials?

Mohamed Azarudeen ZRank #297 · 8.5K reputationPosted Jul 10, 2023, 10:31 AM EDT
Hi Prasanna
Configure SSH server:
sshd_configfile in the SSH server's installation directory (e.g.,ProgramData\ssh).sshd_configfile with a text editor.Subsystem sftpline and add or modify it as follows:/path/to/E/drive/folderwith the actual path to the folder on the E drive that you want to grant SFTP access to.sshd_configfile.Create SFTP user account:
net user sftpuser sftppassword /addsftpuserwith the desired username andsftppasswordwith the desired password for the SFTP user.Grant permissions to the E drive folder:
sftpuser).Restart the SSH service:
If this helps kindly accept answer
prasanna pRank #3,234 · 443 reputationPosted Aug 7, 2023, 7:09 AM EDT
Thank you Mohamed Azarudeen