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

7
votes
2answers
15k views

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 "...
-1
votes
0answers
14 views

Amazon EC2 Linux setup SFTP user with password and no SSH access, limited to their own directory [on hold]

Using Amazon Linux I want to: Have a client SFTP into a specific folder to upload their files. They shouldn't be allowed to access any other folder except for their own The login must use user/...
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-- ...
6
votes
4answers
2k views

Copying over SSH via Putty tools is slower than via WinSCP

Uploading from my Windows PC (1) to my Ubuntu machine (2) in another city using PuTTY tools is slow. I tested this over OpenVPN tunnel and via port forwarding to (2). It turns out that using rsync (...
1
vote
2answers
15k views

SFTP Error - Couldn't read packet: Connection reset by peer

I try to configure SFTP on Centos 7, on my first server it works perfectly, but on my second server when I try to connect me with : sftp USERNAME@serveripaddress I have this error : Could not read ...
5
votes
3answers
14k views

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 ...
1
vote
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 ...
19
votes
2answers
34k 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
1answer
63 views

Cannot sftp using a password [closed]

I have setup my server to allow sftp using a password however I'm getting Authentication failed. even though I'm using the correct password. Here is my sshd_config # Package generated configuration ...
1
vote
2answers
69 views

Can not connect to the Debian 8 servers with CuteFTP

Just installed a new server with Debian8 (jessie) system. Many years use CuteFTP to upload/synchronize files on home computer and server using SFTP connection. Unfortunately, CuteFTP can not connect ...
1
vote
3answers
2k views

What is a good (commercial) high capacity SFTP Server for Windows?

We are currently using Titan FTP Server, but we have found that it has a memory leak. It also seems to fail two to three times a week during high load periods causing problems for our clients. When ...
0
votes
3answers
226 views

Allow SSH but disallow SFTP?

Requirement: Allow SSH but disallow SFTP to a particular user group. Once disallowed, if the user group tries to access SFTP, it should not be allowed and all connections should be closed and the ...
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
28 views

SFTP key issue? java.security.InvalidAlgorithmParameterException

I'm attempting to use my applications SFTP client test connection to connect to the MF but I'm getting the error: Test of SFTP user alias GLDFundingEngine_User failed. Details: Session.connect: ...
2
votes
1answer
25 views

It´s possible to use a wildcard SSL certificate in SFTP/SSH connection?

I have a wildcard SSL certificate, *.mydomain.com, private, public Keys, pem/key file, certificate, etc. I have a SFTP/SSH Server based on MySecureShell to share and get some data using FTPS with ...
1
vote
1answer
36 views

Do incoming and outgoing ports have to match?

Our server was setup with sftp on a custom port, say, 12345. The connection could be done like so, and required the port setting: sftp -oPort 12345 user@host I understand that is at least ...
0
votes
2answers
46 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), ...
6
votes
1answer
153 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 ...
0
votes
1answer
130 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
304 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 ...
0
votes
0answers
97 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
39 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
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
64 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 ...
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
63 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
104 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 ...
50
votes
7answers
41k 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
2k 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 ...
-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
62 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
41 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
237 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
47 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
79 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
646 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
143 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
43 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
49 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
31 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
5k 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
90 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
1k 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
253 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
39 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 ...