Skip to main content

All Questions

Tagged with
0 votes
0 answers
490 views

SFTP disconnects if directory owner is not root

I'm on Debian 11, using openssh-server 8.4, trying to build an sftp server for HTML uploads. The upload destination directory is "/var/www/html" and the username is "sftp-user". ...
TranslucentFoxHuman's user avatar
2 votes
0 answers
282 views

Detect SFTP Login And Perform A Web Request

I am running a SFTP server on Linux/Debian. What I want is to detect when a user connects to the Server and then execute a bash script on the server in which I perform a web request. In this web ...
sposti88's user avatar
0 votes
2 answers
17k views

bad ownership or modes for chroot directory "/var/www"

I am getting following error in auth.log when trying to connect to site using SFTP. fatal: bad ownership or modes for chroot directory "/var/www" ls -ld of this directory shows this: drwxrwxr-x ...
Frank Martin's user avatar
5 votes
1 answer
12k views

How to change SFTP password without allowing SSH login?

I am running Debian server as an SFTP data storage for multiple users. I didn't allow users to login via ssh. Is there any way to users to change their password? Mostly they are using WinSCP client. ...
Tommy's user avatar
  • 51
4 votes
2 answers
12k views

Setting default group permissions via SFTP

I am setting up a file server where users log in via SFTP. I want all users to have the same permissions to read and write any file. Since they all have different accounts with different passwords, i ...
DAB's user avatar
  • 181