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.

learn more… | top users | synonyms

2
votes
2answers
1k views

Ubuntu server closing connection after successful login

I am unable to logon to my Ubuntu (12.04 LTS) server via WinSCP or sftp. There was previously a permission problem for ssh_host_* files in /etc/ssh. This was after I tried chmod -R from another ...
0
votes
1answer
114 views

Load Balanced SFTP Server

we have 2 Load Balanced web servers on Azure and I am trying to set up a load balanced SFTP connection for my client. I have tried doing this using a load balanced end-point on azure for SFTP but the ...
1
vote
1answer
268 views

SFTP encountering Bad Message

I am uploading a file via sftp to a remote server. While on transfer, I got a message that says, "stalled". I killed the sftp running on my local. The problem is, I cannot delete the partially ...
-3
votes
0answers
18 views

Where can I find a non-VPS web hosting service that supports multiple SFTP access credentials? [closed]

I am planning to build a website. In my country, the usual practice when hiring someone to build a website is to just up and hand over your access credentials so that your web developer(s) can freely ...
0
votes
0answers
36 views

Custom file/folder permissions with S3FS?

I have setup an SFTP server using OpenSSH. The home directory for users is /sftp/%user. I'm mounting an S3 bucket at /sftp using S3FS. The problem is that S3FS cascades user permissions down through ...
0
votes
0answers
13 views

Root user permission issues with SFTP and S3FS on Amazon EC2

I have setup an SFTP server using OpenSSH. The home directory for users is /sftp/%user. I'm mounting an S3 bucket at /sftp using S3FS. The problem is that S3FS cascades user permissions down through ...
0
votes
1answer
1k views

Connection to linux server fails with filezilla

I am trying to connect Filezilla with my Amazon EC2 instance. I changed the settings in my security group to open port 22 SSH. Now I am connecting as follows:: File-> Site Manager > Host-- ...
0
votes
4answers
2k views

How to SFTP on Amazon EC2

I installed Amazon AMI 1.0 and logged in as ec2-user with key. Then I ssh and set a password with sudo passwd ec2-user But now when I connect via SFTP I get: Disconnected: No supported authentication ...
0
votes
0answers
21 views

Configure SFTP with OpenSSH and an AWS S3 Bucket mounted via S3FS on Amazon EC2

How do I allow multiple SFTP Users with S3FS and OpenSSH? Everything works, except SFTP Users don't have permission to write to their Chrooted Home Directory: remote open("/some_file"): Permission ...
0
votes
0answers
20 views

I need to set up a sftp server, that could use different keys, and use different directories for the same login, depending on the ip used

I got a problem, that I cannot solve myself. I tried to google it, but no satiscactory solution that i could find. I have a server that is available with let's say 3 different IP addresses (A,B,C), ...
19
votes
2answers
30k views

Is IIS SFTP natively supported by Windows Server 2012 R2?

Does Windows Server 2012 R2 have native SFTP support? I see a role FTP Server but it doesn't say whether this includes SFTP.
0
votes
2answers
1k views

How can I setup ProFTP and SSHD_config to FTP and SFTP to the same directory on Ubuntu 12.04?

I'm having troubles with a chrooted environment on Ubuntu 12.04. Objective Set up FTP/SFTP server where users part of a new 'sftp' group can sftp and ftp to the same directory ProFTP Setup The ...
1
vote
7answers
1k views

Secure file transfer in linux without SSH?

First thing i want to apologize if this question is silly or something...i just tried to research but it seems to be a bit hard to find exactly what i want in Google ! [or i'm not smart enough to find ...
0
votes
1answer
17 views

Correctly setting user permissions via SSH

I'm getting stuck with user permissions on a LAMP stack (using Digital Ocean if it matters). Here's my setup. User dev has the following groups: dev www-data The /var/www folder has been set so ...
0
votes
1answer
23 views

Proftpd different chroot for specific ldap group

I am authenticating a ProFTPD (with mod_sftp) instance with a LDAP server. I want to have the following setup: A chroot for all users to /home/ftp. (This works). Now I would like to chroot specific ...
1
vote
1answer
50 views

Auto-mount SFTP share in fstab

I have a SFTP share on my server wich use standard authentication. On my client, I have edited the /etc/fstab file and added : user1@192.168.1.50:/ /mnt/share fuse.sshfs port=22,defaults,_netdev 0 ...
49
votes
7answers
38k views

Allow SFTP but disallow SSH?

I'm starting a very little hosting company for a few friends and little clients, nothing big. I want to give my "clients" the right to manage their files on the server. I hate FTP as it is not secure ...
1
vote
2answers
1k views

/etc/init.d/ssh restart does not reload the configuration

I've added a chroot configuration to my /etc/ssh/sshd_config. I reload the configuration file using /etc/init.d/ssh reload, then try to connect using an SFTP client, but nothing changes, the user is ...
6
votes
0answers
96 views

SFTP server: better to use SSH internal sftp subsystem or ProFTPD plugin?

I've been tasked to install a new SFTP server. Per-se, this is a very simple operation: simply using the internal-sftp role of the ubiquitous SSH service (with chrooting) is sufficient to have a ...
-4
votes
1answer
5k views

How to automate a transfer of file from server to local system using ftp

I have a windows server 2003 which generates backup file to ftp folder in the server(using my own script). And I will ftp and copy it to my local hard disk daily. How can I automate this process using ...
-4
votes
1answer
60 views

How can I disable SFTP so that FTP is the only daemon open? [closed]

In sshd_config I've commented out: Subsystem sftp /usr/lib/openssh/sftp-server but sftp is still working. What am I missing?
1
vote
1answer
35 views

How to secure a 'public' sftp?

I have a server which enables some users of my services to upload files using SFTP. When I talk about users, I can neither be sure who they are nor how many have access. I have set up the access as ...
0
votes
1answer
96 views

Can connect via SSH - but not via SFTP? Exit status 127

Unfortunately I can not connect via sftp to my VPS: This is my sshd_config: # Package generated configuration file # See the sshd_config(5) manpage for details # What ports, IPs and protocols we ...
2
votes
2answers
40 views

sshd_config how to allow one user to have full unrestricted sftp and allow ssh

I changed sshd_config to jail users within specific group into their home directory. changed subsystem to sftp internal-sftp and used forcecommand: internal-sftp However, this prevented the admin ...
1
vote
1answer
57 views

How to create chroot'ed SFTP access on an Archlinux Server?

I've followed this instructions on the ArchWiki and GeekStuff to setup an user which can only access the server via SFTP (SSH) but without Shell (/bin/false) in a chrooted environment of his home dir. ...
2
votes
3answers
1k views

Setting up a chroot sftp on debian server

I'm trying to allow a user "user" to access my server by either sftp or ssh. I want to jail them into a directory with chroot. I read the instructions here however it does not work. I did the ...
0
votes
1answer
518 views

SFTP clients not respecting default UMASK permissions [duplicate]

Here's my situation: I'm setting up an Ubuntu 14.04 web server for a team to share. I'd like the team to have read/write access to everything inside var/www/html (same as CHMOD 775 on every file and ...
-1
votes
1answer
112 views

Step by step configuration of Ubuntu server for LAMP with remote FTP/SSH and GIT access [closed]

This is the first time I had to configure an Unix Server as a remote server for a website based on LAMP. It also need to offer SFTP and GIT support. I read a lot of guides and I wrote down all the ...
-1
votes
1answer
39 views

Unable to use SFTP via FileZilla?

I created a Linux VM on Microsoft Azure via this blog Creating secure Linux VMs in Azure with SSH key pairs In summary it simply says: openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout ...
-3
votes
1answer
45 views

How are files created during FTP?

When one uses FTP/SFTP on Linux, is the method the server uses to create directories and files mkdir and open or something else entirely?
1
vote
1answer
30 views

Allow winscp/filezilla through iptables and fail2ban

I just launched a website within my school community and woke up this morning to logs of someone trying to bruteforce into my server. I followed some guides on digitalocean to set up fail2ban and ...
-1
votes
1answer
25 views

FTP Port Protocol Type

I recently switched to a different VPN provider, therefore did a fresh server installation. Before I proceed, please keep in mind that I am not super experienced with server stuff. I am having a ...
1
vote
2answers
4k views

Creating FTP user to access a specific directory with SFTP in Linux Ubuntu Server 14.04 LTS

I'm creating an FTP user on Linux Ubuntu Server 14.04 LTS, but when I try to log in via FileZilla with SFTP I get the following error: Received unexpected end-of-file from SFTP server If I try to ...
0
votes
1answer
4k views

SFTP logging in Solaris Server using 'internal-sftp'

I'm trying to enable logging for SFTP file transfer (without help of any opentools) on solaris 10 using "internal-sftp" but couldn't see any info about file transfers. Please help. **#Argument in ...
-1
votes
1answer
52 views

Grant SFTP permission and limit Ubuntu user to only one directory [duplicate]

I'm trying to let create a user with SFTP permissions to only one directory (that is not his home directory). When he connects through a SFTP client I want him to land on this directory and I don't ...
2
votes
2answers
1k views

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 ...
4
votes
2answers
969 views

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 ...
7
votes
3answers
189 views

SFTP with chroot depending on public key of connecting user

I want to build a server (running Debian or FreeBSD) that receives backups from different clients via sshfs. Each client should be able to read and write its own backup data, but not the data of any ...
0
votes
0answers
36 views

Using LDAP attribute to get Home Directory for SFTP connection in RedHat 7.0.3

We need to outsource the authentification on a SFTP server to use an existing LDAP. the connection to this server will be done by (user/password) via LDAP, and the home directory of the user must be ...
1
vote
0answers
80 views

How to allow FTP on Google Compute Engine Windows VM?

All of the Google Cloud Platform instructions seem to be about setting up FTP in other OS like debian, etc. Connection just times out. On the Windows 2012 Server, I have setup FTP in IIS properly, ...
0
votes
1answer
17 views

Nonsystem authentication for unprivileged sftpd

I am creating a test system that needs to be able to briefly act as a sftp server on a nonprivalaged port. The test system runs as a normal user. So I'm thinking as running sshd with the sftp ...
1
vote
1answer
2k views

Setup SFTP vsftpd on Centos 5 with chroot

I would to like to restrict a user to certain directory(ies) but also allow to use SFTP for transfer. I looked at the answers provided to similar questions at: How do I setup SFTP for sites without ...
0
votes
3answers
785 views

Unable to copy multiple files from remote sftp via ssh [closed]

I am trying to copy multiple (1000s) .JPG files from remote SFTP server to current server using mget command but it is not working. Here is the command that I used sftp username@sftp.domain.com ...
1
vote
1answer
47 views

How to prevent sftp users from viewing some directories (inside their chroot directory)

The sftp users of my server are chrooted together in a specific directory. They all belong to the group sftponly. The rights are ok, including a special right to prevent users from overwriting ...
1
vote
1answer
606 views

ProFTPd with sftp first login fails, seconds succeeds

We are working with ProFTPd and SFTP module enabled. We have a problem with using the sftp module. When we try to connect to server in FileZilla we need to enter the password to the server twice, ...
1
vote
2answers
3k views

Let users write to /var/www via ftp on debian running vsftpd

One of our dev boxes runs debian and VSFTPD, and I would like to allow a few select users to write to /var/www/testsite and its sub directories. They can browse to /var/www via a symlink in their ...
12
votes
2answers
29k views

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 ...
1
vote
1answer
87 views

SFTP Issue - Permission denied

We are trying to do SFTP files from mainframe to new linux servers. We provided our(mainframe) public key to destination server team, they configured that one. While sending files we are getting the ...
1
vote
0answers
24 views

Multi-user FTP/SFTP admin rw, user ro

I am trying to create an FTP server that will allow our developers to upload documents to a directory with complete control of that directory and sub-directories. I have been able to achieve this with ...
10
votes
4answers
10k views

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 ...