Questions tagged [sftp]
The SSH File Transfer Protocol (SFTP) provides secure file transfer functions using the same infrastructure used by the Secure Shell protocol. It can be seen as a secure replacement for FTP.
684 questions
0 votes
1 answer
45 views
How do I stop a sftp-chrooted user from escaping by changing its username?
I have 2 users and their distinct ssh keys, and a ssh server only accepting keys user_1: a normal account with ssh and sftp accesses. Trusted. It can escape its home and download anything it can read....
0 votes
1 answer
138 views
Trying to login to sftp fails
I'm trying to setup a sftp server using openssh builtin sftp. Subsystem sftp /usr/lib/openssh/sftp-server and I have created user by following (more or less (using ansible), I do use /sbin/...
1 vote
1 answer
219 views
Problems with systemd-logind & d-bus on a busy SFTP server
We recently upgraded a high volume CentOS 7 SFTP server running openssh/internal-sftp to Rocky Linux 8. However, since the upgrade we are experiencing login timeout issues after the server has been ...
0 votes
1 answer
321 views
Log management using SFTP with openssh-server
I'm struggling to find a solution regarding this problem : My goal is to set up a sftp server on a Debian 12, there will be several directories corresponding to each departement of my firm, every ...
0 votes
0 answers
235 views
Error while putting files to SFTP server using Bash and FileZilla
I have been trying to push files to a SFTP server using FileZilla and Bash and getting below errors: On Bash (Windows): $ sftp -i C:/ssh/id_rsa user@sftp-server Connected to <<sftp-server-name&...
-1 votes
1 answer
137 views
SFTP + ChrootDirectory: Is it possible to prevent a user from exiting a folder?
currently, the user connects via SFTP to the server and is placed in the files folder. Is there a way to prevent them from exiting the files folder? sshd config for the user sftp: Match User sftp ...
0 votes
2 answers
131 views
Forward port 2222 to docker but not forward 22
My setup is Linux host with SSH and SFTP access. It runs inside a docker container exposing also SSH and SFTP. The docker container does not have a separate network. Uses “host” network setting. I ...
0 votes
1 answer
74 views
What is the SFTP num_requests parameter?
I've found this in the man page of sftp: -R num_requests Specify how many requests may be outstanding at any one time. Increasing this may slightly improve file transfer speed but will increase ...