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
24
votes
5 answers
23
votes
6 answers
Use .bashrc without breaking sftp
My problem is that I need to set a few variables, and output a few lines every time I login to the ssh shell, and at the same time I have to be able to use sftp to tarnsfer files via Filezilla.
Now, as per the openssh FAQ at…

Joel G Mathew
- 890
- 1
- 9
- 19
23
votes
4 answers
Why does Amazon release private keys instead of public keys?
My brain is wrapped around the axle on public and private keys. When you create a cloud server (instance) on Amazon's EC2 service and then want to connect to it via SSH, Amazon requires you to download private a key to make the connection. Doesn't…

Seth
- 433
- 1
- 4
- 8
23
votes
6 answers
What are some secure alternatives to FTP?
This Hacker News story is all about the downsides of FTP. The only reason I might set up FTP is that it's easy.
I know about and use scp already, but sometimes I want to share files with someone without giving them ssh access to my server. I want…

Nathan Long
- 1,545
- 7
- 22
- 38
21
votes
14 answers
Is there an open source tool to map SFTP connections as a Windows mapped drive?
I know there are many commercial products that accomplish this task, but I'm looking for something like SSHFS but for Windows systems, which is open source.
WinSCP FAQ points to the the KeepUpTODate feature, which can be used as a workaround, but…

Tom Feiner
- 17,578
- 8
- 30
- 24
20
votes
6 answers
OpenSSH anything like 'internal-sftp' but for SCP?
I'm running Debian stable and I'm looking to establish the following environment for users in my 'sftponly' group:
jailed
can transfer with SFTP
can transfer with SCP
cannot login interactively with SSH
From my experimentation and research, it…

brianjcohen
- 301
- 1
- 2
- 3
20
votes
1 answer
How to add user with SFTP/ FTP access to '/var/www/html/website_abc' folder on Amazon EC2 Centos?
Possible Duplicate:
Linux directory permissions
I'm working with some third-party developers and I would like to grant SFTP (or FTP) access to the root folder for a website they're working on i.e. '/var/www/html/website_abc' so that they could…

ericn
- 553
- 2
- 8
- 20
19
votes
2 answers
How do I set up an sftp user to login with a password to an EC2 ubuntu server?
I have an Ubuntu Server running on an EC2 instance.
To login to that server I use a certificate file without any password.
I've installed and configured vsftpd and created a user (let's call him "testuser") for which I've set a /bin/false ssh…

Doron
- 543
- 1
- 6
- 14
18
votes
2 answers
Creating SFTP users and jailing to chroot on CentOS - user authentication error
I've got a CentOs release 6.4 with Digital Ocean and would like to successfully create SFTP users and jail them to the user's own chroot home directory but I fear I'm making a mess of this.
I've tried a lot of things, far too many to list here…

zigojacko
- 1,453
- 2
- 12
- 25
17
votes
3 answers
Restricting the network access of Docker container
I'm in the process of creating an SFTP only Docker container, one that will be used by multiple people for the sole purpose of uploading and managing files in their own chrooted Environment.
On paper, it's pretty secure: I'll disable every form of…

Daniel S
- 415
- 2
- 5
- 9
17
votes
2 answers
Symbolic link and filezilla over sftp
I'm pretty new to debian, and I'm trying to set up a server.
I have created a user who can only access his folder /home/username (and its subdirectory).
Now I want to use that user for the webserver I set up, and I have given him access to /var/www…

Doc
- 273
- 1
- 3
- 8
16
votes
4 answers
how to pipe data to sftp connection?
ftp supports the put "|..." "remote-file.name" command to pipe data to an ftp connection. Is there something similar available for sftp?
In sftp i get the following error:
sftp 'jmw@backupsrv:/uploads'
sftp> put "| tar -cx /storage"…

JMW
- 1,463
- 4
- 19
- 27
16
votes
3 answers
How to check diskspace on SFTP server
Recently I encountered a lack of diskspace problem on a SFTP server and I realised I have no idea how to check how much is left or even the total amount.
Does anyone know how to do this through an application like FileZilla or perhaps there is a…

kjetilh
- 261
- 1
- 2
- 5
16
votes
4 answers
How can I create a user only for sftp?
I have added a user to the system via the adduser tool. Then, in /etc/passwd, I tried changing the /bin/bash to /sbin/nologin or to /dev/null, but neither of these worked.
I would like the user not having the option to get an interactive shell, and…

Toni Rosa
- 281
- 1
- 3
- 8
16
votes
3 answers
Set up sftp to use password but ssh not to use password
Is it possible to set up a user on ubuntu with openssh so that ssh does not use password authentication but sftp does?
I assume that if I change /etc/ssh/ssh_config to have PasswordAuthentication yes this makes is possible for users to use passwords…

dar
- 509
- 1
- 5
- 11