The SSH File Transfer Protocol, (sometimes called Secure File Transfer Protocol, Secure FTP), or SFTP, is a network protocol that provides file access, file transfer, and file management functionality over any reliable data stream.
Questions tagged [sftp]
998 questions
9
votes
2 answers
How to allow multiple people to change mtime -timestamp of a file through sftp?
I have a directory that multiple users have access to. They change, upload, and delete files in the directory. They all belong to the same user group. The files in the directory have access rights of 660.
The problem is that the users cannot set…

jous
- 189
- 1
- 5
9
votes
2 answers
SSH Host key verification issues using VIP
We have 2 production servers on a VIP, only one is in use at a time, for example:
myservice.mycompany.uk normally points to server1, in the event that server1 fails it is changes to point at server2.
There are some other servers which need to send…

Paul Creasey
- 93
- 1
- 1
- 7
8
votes
3 answers
Enable password login for SFTP while keeping authentication by SSH keys
How do I keep a password login enabled for SFTP transactions (made by Drupal, if this is important) while keeping it disabled for all other SSH key based authentications? Currently all the existing users of the CentOS server use keys to log in and…

Dr NYU
- 93
- 1
- 1
- 7
8
votes
3 answers
Proper setup of user permissions for OpenSSH on Windows?
I am trying to setup OpenSSH on Windows to provide SFTP sites. I am running into some problems with user security settings.
Here are the basic steps I've gone through to create a user:
Create a new user on the host machine
Add user to openssh…

dmr83457
- 727
- 3
- 9
- 20
8
votes
5 answers
How can I set up an SFTP server backed by S3 (or similar)
I need to set up an SFTP server that, essentially, has very large capacity. I need to give one of our partners SFTP login details to a server where they will upload millions of files, totalling a few hundred Terabytes. I will then be selective and…

Daniel Magliola
- 1,432
- 9
- 20
- 33
8
votes
1 answer
Trying to set up SFTP only in a chroot jail for one user
Hopefully you guys can help and see if I've done something weird here, I'm trying to log in with a user I set up, FileZilla shows me:
Command: open "///@///" Command: Pass: ********
Status: Connected to ///
Error: Connection closed by server…

pzkpfw
- 318
- 2
- 12
8
votes
1 answer
sftp/ssh failing after adding "Match group" clause
I am attempting to set up an sftp server on ubuntu/precise on EC2. I have been successful in adding a new user that can connect via ssh, however once I add the following clause:
Match Group sftp
ChrootDirectory /home/%u
AllowTCPForwarding…

Jonathan Coe
- 391
- 1
- 3
- 11
8
votes
2 answers
rsync or sftp?
I am trying to send huge (huge as in approx 5 gb) files between servers .. Which is better, sftp or rsync ?
Could someone point me to a comparision of sftp vs rsync if any available ? Is one better than the other ? If yes why ?
Please advice..

Shrinath
- 297
- 1
- 3
- 18
8
votes
6 answers
How to change SFTP default directory
With proftpd you can change the default directory editing /etc/proftpd.conf
DefaultRoot ~
change to
DefaultRoot ~/music
How i can achieve the same result with SFTP?
Im using ubuntu lucid btw.
Ty so much for your help.

Jonathan B
- 83
- 1
- 1
- 4
8
votes
9 answers
how to provide a web interface to sftp server
We need to securely serve files to our clients. We want the transport to be encrypted, users should require user/password and they should be able to access their files through the web, ftp/sftp and curl.
The obvious idea is to use openssh and its…

user23398
- 1,191
- 3
- 9
- 14
7
votes
3 answers
Using UUIDs for passwords
Does anyone have an opinion on using UUIDs as passwords? This is intended for accounts created for external users, such as customer access to private SFTP folders. Or are people using public key instead? These users don't have a shell and are…
user1804
7
votes
1 answer
SFTP vs FTPS, and is an FTP server even required for SFTP?
I have an Ubuntu 16.04 instance that seems to not have FTP installed, but I can use WinSCP to connect from my local pc to the instance using protocol SFTP on port 22, and then I can download files from the instance to my local pc.
The instance…
user454218
7
votes
1 answer
configure multiple sshd instances on debian 8 (jessie) systemd
I would like to run two sshd daemons on debian 8 (using openssh), one for administration and one for sftp.
This used to be quite easy in debian 7 but with systemd it is more difficult.
So far I have created the sshd_config_second and the…

mahatmanich
- 2,954
- 3
- 22
- 23
7
votes
3 answers
Why is FileZilla SFTP file transfer max capped at 1.3MiB/sec instead of saturating available bandwidth? rsync and WinSCP are even slower
I'm downloading from a server and downloads are maxing out at 1.3MiB/second with FileZilla but I can start concurrent downloads and they will download at 1.3MiB/second also. So why can't I download just one file at faster than 1.3MB/s and get closer…

htfree
- 483
- 4
- 9
- 21
7
votes
1 answer
SFTP: log to a separate file for chrooted user
I would like to log SFTP commands to a separate file however it works only for root but not for chrooted user:
# cat /etc/ssh/sshd_config
...
Subsystem sftp internal-sftp -l INFO
Match Group user1
ChrootDirectory /chroot
ForceCommand…

HTF
- 3,148
- 14
- 52
- 82