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

0
votes
0answers
4 views

How to programmatically change a password on an IPSwitch server using a Linux client? [migrated]

One of my companies customers runs an IPSwitch sftp server, and they have disallowed public key authentication, and require us to change our password every 90 days. The problem is that, I cannot see ...
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
33 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. ...
-2
votes
0answers
13 views

Create an account SFTP with writing permissions on VM Debian Linux 8.0 'Jessie' a deploy by Google Click to Deploy - Google Cloud Platform - WordPress [on hold]

I would like to create an account SFTP with writing permissions in the root folder of the website path: /var/www/html of my VM server Debian Linux 8.0 'Jessie'. At moment I can read and write in ...
9
votes
2answers
8k views

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 ...
14
votes
3answers
9k views

OpenSSH: Difference between internal-sftp and sftp-server

Why are there two ways to setup SFTP with OpenSSH and when to use which? Is there any difference between them? I mean the first one is using a lib from OpenSSH and the second one says "use the ...
0
votes
1answer
24 views

SFTP configuration through HAProxy loadbalancing

I have LB server which currently load balancing 2 machines as for apache2 "http" and "https" requests as master/slave, How to make the same server load balancing "sftp" requests to the same both ...
0
votes
2answers
2k views

Debugging SFTP connections between AIX client and Windows Server

Situation: a client with an AIX machine can't connect properly to a Windows 2003 Server running FTP server Serv-U FTP Server v10.2. Plain FTP works. SFTP is not working. It's not clear where the ...
46
votes
6answers
33k 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 ...
0
votes
2answers
967 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 ...
0
votes
1answer
55 views

Authentication based on any of the PAM module

I want to allow some users to only use SFTP but not SSH. Also I dont want these SFTP users ID and password to be stored in /etc/passwd file. I want their id and password details will be stored in a ...
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
3k 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 ...
7
votes
1answer
5k views

Can I configure VSFTPD to listen only to localhost?

I have a legacy app that needs FTP and cannot do SFTP. My solution is: put an FTP server in place using VSFTPD configure the firewall to accept port 21 connections only from localhost Set up an SSH ...
0
votes
1answer
3k views

How to fix the Proftpd issues for SFTP?

I have installed proftpd in Centos Server, mainly for secured ftp access. But, frequently, the user are able to access the sftp server. When i check the current process information for each FTP ...
0
votes
1answer
97 views

SFTP Script Needs overview

I am trying to write a script that allows me to check a directory for files that i will sftp to another server. When the file is created it creates a .ready file that is supposed to signal a file is ...
0
votes
2answers
31 views

How can I see IP addresses attempting to connect to my Amazon EC2?

I have an EC2 instance that is setup as an SFTP server using OpenSSH. It only allows connections on whitelisted IPs via TCP Port 22 (limited via an EC2 Security Group). I constantly have customers try ...
0
votes
2answers
3k 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 ...
1
vote
2answers
469 views

proftpd ssh key-based authentication not working

I've setup a new proftpd server with mod_sftp for SSH support, that I'm able to login to when I use a password. But when I try to use my SSH key, I'm unable to connect. Here's the full proftpd.conf ...
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
votes
2answers
61 views

Must I bind haproxy to port 22 to load balance ssh/sftp

I need to use haproxy to load-balance SFTP connections but currently i cannot bind it to port 22 (cutomer constraint). Can i bind to port xxx and listen on port 22 to achieve this or must I bind to ...
1
vote
1answer
71 views

SFTP chroot to /var/www stopped working

04 and setup sftp chroot to /var/www for our 2 developers. I followed the guide available online (referenced a few other as well) http://www.krizna.com/ubuntu/setup-ftp-server-on-ubuntu-14-04-vsftpd/ ...
0
votes
1answer
36 views

Allow external provider to access Webfolder in CentOS. (Option SFTP)

Following Problem: We run a CentOS webserver and would like to grant access for an external contractor which only needs to access our webfolder ''/var/www' to Modify/Upload files. What I tried was ...
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-- ...
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 ...
4
votes
4answers
1k views

Openssh sftp-server: .filepart support?

I am trying to setup a SFTP server, running off Ubuntu Server 11.04. I installed openssh-server to provide SSH access. What I am trying to do is make file uploads run with a suffix (.filepart or ...
0
votes
0answers
86 views

SFTP Chroot Jail preventing SSH: This service allows sftp connections only

I set up a SFTP Chroot Jail succesfully, but would like to give my users access over SSH, in addition to SFTP. If I attempt to SSH in with the testuser, after providing the password, putty closes. ...
0
votes
0answers
18 views

client can't connect to sftp server, can that be due to Event ID 7036: The Application Experience service entered the stopped/running state?

I have a sftp server running in Windows Server 2008R2. A client said they tried to connect to the server several times, but failed. My colleagues and others can connect and use the sftp. The next ...
21
votes
5answers
17k views

Difference between scp and sftp

What is the difference between sftp and scp?
-3
votes
1answer
63 views

sftp not working, but ssh is working [closed]

I have a nat rule in my firewall to allow port 22 traffic through pfsense. I am able to SSH into my server but sftp through filezilla is getting timed out and not connecting. I tried with the local ...
0
votes
0answers
38 views

SFTP logging chrooted users in OS X 10.11

I have been trying to piece together the exact setup for logging SFTP user activity for chroot jailed users on OS X 10.11 (El Capitan) from various links but I'm currently stuck. I have gotten as far ...
7
votes
1answer
469 views

How to load balance sftp instances on AWS

I like to know is it possible to load balance sftp servers in AWS. I have 2 servers, and each of my servers are using s3fs-fuse to mount the same S3 bucket onto a mount point. Both of my ec2 ...
1
vote
1answer
430 views

Automatically retrieve a specific file via SFTP

How do I determine which file is the newest from a remote server that I am connected to via SFTP? My goal is to retrieve a specific file each day, via SFTP. The steps I will follow are: Connect to ...
2
votes
1answer
1k views

How to access FTP or SFTP in Webmin?

I have a linux server running webmin that I cannot connect to with FTP/SFTP. Usually I can connect to any server, eventually. But not this one. I can login and create any kind of user, do anything. ...
1
vote
0answers
46 views

sftp backups with duplicity fail

I'm using duplicity on debian wheezy, which comes with version 0.6.18 as standard package. I also tried version 0.6.24 from wheezy-backports. I want to use sftp as backend, but if I run: duplicity ...
-1
votes
1answer
16 views

Chroot Jailing groups via sshd_config for FTP results in connection aborted for all members in that group

I am attempting to chroot jail using the /etc/ssh/sshd_config file. My FTP server is vsfptd, and while I know how to chroot jail using vsftpd's config, I want to try it using sshd_config. However, ...
1
vote
0answers
15 views

openssh sftp server file permissions not being set by umask (but folder perms are)

I am running the openssh sftp server like so: Subsystem sftp /usr/libexec/openssh/sftp-server -u 002 And the folders I upload via sftp get these permissions: drwxrwxr-x 12 developer staff ...
0
votes
0answers
18 views

HEROKU php-buildpack but upgrade cURL and LibSSH2 to support SFTP

Im trying to enable my php app to use cURL to do SFTP via a proxy. phpseclib is not an option as it dosn't support proxies for SFTP. I'm using the ddollar/heroku-buildpack-multi to try and "upgrade" ...
0
votes
0answers
28 views

SFTP to a server is failing sometimes

I am running into an odd SFTP issue with an Ubuntu 14.04 EC2 Instance that is hosted on Amazon. Amazon instances come with openssh-server by default so I made sure to run an upgrade on the whole ...
0
votes
1answer
98 views

SFTP permission denied but SSH works fine

I keep getting Permission denied errors while attempting to upload changes to a file via SFTP, however it works fine when using SSH directly as the same user. The file I am trying to upload is ...
-2
votes
3answers
30 views

How to connect to a SFTP [closed]

Got a SFTP Hostname username password from someone and he gave me a Server RSA public key fingerprint like this: d2:h4:h5:gf:f4 etcetera. But how do i need to connect to this host, doesnt this ...
1
vote
0answers
20 views

Ubuntu: Create user with restrictions to one folder

I need set the folder /usr/share/nginx/site/folder as home folder and restrict this user to don't view/download other up folders...my idea is, permit the access just via sftp. Has a website running ...
0
votes
2answers
103 views

permission denied on authorized_keys

I am attempting to set up SFTP for chrooted users, and use SSH public key authentication. In this example I'll be working with the dummy user "globocorp" who's a member of "sftpusers". This user is ...
1
vote
1answer
25 views

Allowing Pubkey OR Password Authentication for Chrooted users

I manage a legacy system that numerous clients connect to in order to consume large files of scientific data. Currently these users connect via SFTP, and because of the huge diversity of experience ...
7
votes
6answers
41k views

How can you do a one liner with sftp to login with the password on the same line?

Is there an option to put the password on the line as well with sftp? linux~ $ sftp USERNAME@FTP.WEBSITE.COM:/DIRECTORY_TO_GO_TO/ Like this linux~ $ sftp ...
0
votes
2answers
40 views

Give private key ownership to user without /home

so I am looking to set up ssh private/public keys between two servers, for use with sftp (and ultimately lftp using sftp - but one step at a time). I have created the private and public keys, and ...
3
votes
2answers
191 views

Can't connect to SSH/SFTP - but only in certain programs

I'm using UltraEdit (Windows) to edit files on remote SFTP servers. For some reason I can no longer connect to one of those servers. Here's what was changed: The server was moved (and updated) from ...
0
votes
2answers
57 views

Public SFTP server directory with no password or keyfile

I want to be able to allow users to connect to my SFTP server under a restricted user that only has read access to view files in a certain directory that I upload to without it requiring a password or ...
3
votes
4answers
3k views

Wordpress can't find ssh public and private key pair

My server configuration is as follows: CentOS 5.8 (final) running Nginx. I am using the SSH2 feature of Wordpress's plugin installer. I have installed lib2ssh and it is working (Wordpress is ...
13
votes
2answers
23k 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.