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
67 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....
4 votes
3 answers
535 views
Shell (.exp) script only sending 1 of 2 files
I have a bash shell script that runs via cron. The script looks for 1 of 6 possible (data) files in a directory. If 1 or more of these files is found, a new (control) file is created for each data ...
0 votes
1 answer
156 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/...
0 votes
0 answers
115 views
sftp + thunar in Debian 12 is in a password loop
I recently bought a new laptop and installed Debian 12 + xfce environment. And I'd like to access my server (which has Debian 12) with Thunar, as I always did before. I can access my server via sftp ...
1 vote
1 answer
241 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 ...
1 vote
1 answer
95 views
PAM maxlogins limit not working
Since upgrading from CentOS 7 to Rocky Linux 8 our PAM maxlogins limit is no longer being enforced for SFTP sessions. SFTP users belong to the sftp group and we have this in /etc/security/limits.d/10-...
0 votes
1 answer
369 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
182 views
Mobaxterm: in SFTP >>I am not able to search/find specific folder name in this list. Do we any option to do Search/Find in this folder list?
From this list, I am not able to do Search/Find for any specific folder name or file available in this directory. Any options available? Also, not able to type and move to any folder or file. Ex: if ...
0 votes
0 answers
270 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&...
0 votes
4 answers
311 views
Our hosting provider only supports using FTP, not sFTP. Is this safe enough? [closed]
My limited skills/knowledge tell me that standard FTP is completely unencrypted and that it only takes minutes (or even seconds) for your system to be compromised if you send admin credentials ...
-1 votes
1 answer
158 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 ...
3 votes
0 answers
159 views
Want access to root directory from remote computer via Dolphin or Gnome Files app
I am setting up a new computer in my home. Both my old computer and my new one run various flavors of Ubuntu Linux, the new one Kubuntu 24.04.1, the old one Ubuntu 24.04.1. There are certain files on ...
0 votes
2 answers
161 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
3 answers
290 views
How to show seconds of last modified date when using sftp command?
When I use WinSCP to access my SFTP server, it shows me the last modified (changed) date including seconds. If I use sftp on Linux and run ls -l, it only shows the hours and minutes, but no seconds. ...
0 votes
1 answer
87 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 ...