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
0answers
9 views

Failed attempt at creating SFTP and SSH Users

I use this awesome tool called EasyEngine. This tool use a simple www-data:www-data when create a domain. But because we need to separate users for different developments, We tried to add new users ...
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
15 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
39 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 ...
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 ...
49
votes
7answers
37k 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
78 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 ...
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-- ...
-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
32 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 ...
-1
votes
1answer
55 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
39 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
40 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
456 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
100 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
32 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
25 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 ...
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
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
45 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
941 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
177 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
33 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
54 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
16 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
750 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
46 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
600 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 ...
11
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
78 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
22 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 ...
0
votes
1answer
364 views

proftpd: mod_sftp connection timeout

I'm using an SFTP Server based on proftpd's mod_sftp. The only problem is, that I haven't found a way to keep idle connections for longer then a few minutes. Our users request idle times for up to a ...
0
votes
3answers
739 views

Secure SFTP access DEBIAN Lenny

Config: Debian Lenny Apache2 I have configured SSH to "PermitRootLogin no" and have created another user to login with and the do "su". Now I want to connect with e.g. Filezilla via SFTP. I can do ...
0
votes
1answer
711 views

ProFTPd mod_sftp mod_sftp_sql

I am working on Ubuntu 12.04 I have setup a ProFTPd service with SSL/TLS, virtual users stored in a MySQL database and quota (mod_tls, mod_sql, mod_sql_mysql, mod_quotatab, mod_quotatab_sql). It works ...
2
votes
4answers
2k views

Using proftpd how do I disable regular ftp but leave sftp running

We have a Debian Linux box with proftpd, we have both FTP and SFTP running, but we would like to disable regular FTP and just leave the SFTP running Is there some way to do this?
1
vote
1answer
276 views

ProFTPD pub key authentication, still asks for password

I've set up mod_sftp with ProFTPD, and for some reason it still prompts me for a password when I connect. This is my conf.d/myserver file: SFTPEngine on SFTPLog /var/log/sftp.log Port 7770 ...
0
votes
0answers
36 views

Received unexpected end-of-file in filezilla

I am facing one issue with FileZilla in window OS. I don't know other client. Problem is that.I have search already but there are no correct answer. One more thing. First I am using vpn connection in ...
5
votes
1answer
5k views

SSH - cannot start sftp-server when trying to force internal sftp

i'm having trouble forcing users to only be able to use sftp when connecting over ssh. I have the following lines in my /etc/ssh/sshd_config: Subsystem sftp /usr/libexec/openssh/sftp-server Match ...
2
votes
1answer
75 views

How to disable sftp access to user with ssh already disabled (user shell = /bin/false, but connection still works with sftp)

In sshd_config, by default, login is allowed for all groups and users. The allow/deny directives are processed in the following order: DenyUsers, AllowUsers, DenyGroups, and finally AllowGroups. ...