Problems copying files by sFTP using a user with root privileges

Advertisement

acerna
Joined:
Posts:
1
Location:
Peru

Problems copying files by sFTP using a user with root privileges

The remote file can not be created, Permission denied, Error code 3, Error message from the server: Permission denied.

He verified that my user is inside the file
ezabaleta ALL = (ALL) NOPASSWD: ALL

As you can also add the value!
Default!

The sftp server location of the ssh service configuration file is:
Subsystem sftp / usr / libexec / openssh / sftp-server

Now in the WinSCP the path of / usr / libexec / openssh / sftp-server is configured in the option of Advanced> sFTP and in version of the sFTP protocol version 3.

In the Advanced Shell option, sudo has been added

It has made all those configurations and still does not allow me to copy, please stay waiting for your early support.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,506
Location:
Prague, Czechia

Re: Problems copying files by sFTP using a user with root privileges

Please attach a full session log file showing the problem (using the latest version of WinSCP).

To generate the session log file, enable logging, log in to your server and do the operation and only the operation that causes the error. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.

Reply with quote

Advertisement

You can post new topics in this forum