I am running a CopSSH 4.1.0 on a Windows 2008 R2 server.
I have followed the instructions here:https://www.itefix.net/content/i-cant-login-ordinary-user
I have created a user with password never expires and assigned the user to the group with the local login right.
I have added this user with CopSSH control panel with right 'sftp', as I just want him to transfer files with putty and copssh.
I can see that a directory whose name is this user name has been created in C:\Program Files (x86)\copSSH\home, so it looks good.
But when I try to login remotely through a command line launched from my desktop, I get "access denied".
Please advise.
Please check if your firewall allows communication thru standard ssh port 22 or an other port you configured your system to listen to.
Yes, firewall was set as connections are accepted on port TCP 22.
I can connect with root user who is member of Administrators group, but I can't connect with a user I create.
There must be something with user rights. Do you have any group policy which may kick out your user of the list of users with local login rights. Try to increase logging to get more information about what happen during the connection. As 4.1.0 is a quite old one, conside also to install the latest free edition.
WHat do you mean by "Try to increase logging to get more information about what happen during the connection." ?*
And 4.1.0 has been installed and preconfigured by the provider of the server, www.ovh.com.
I can't upgrade to a free version, since I need to setup multiple accounts, each one for a customer with its own dedicated sftp folder.
You can increase logging details by selecting logging level larger than INFO. Btw, have you started Control Panel as admin ? Earlier versions of Copssh Control Panel require it to operate properly. I took a test on a 2012 machine now and it seems to work.
Start Control Panel as admin did the trick. Thanks!