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
1answer
102 views

How do I force sftp user to start in their home directory

I am using RHEL6 and I set up an sftp server through sshd. Here is the relevant sshd config: Match Group sftpusers ChrootDirectory /sftp/%u ForceCommand internal-sftp X11Forwarding no ...
0
votes
3answers
119 views

Unable to copy multiple files from remote sftp via ssh

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 ...
5
votes
1answer
220 views

SSH & SFTP: Should I assign one port to each user to facilitate bandwidth monitoring?

There is no easy way to track real-time per-user bandwidth usage for SSH and SFTP. I think assigning one port to each user may help, but I am wondering if my approach is workable. Use case Bob, ...
0
votes
0answers
17 views

Sftp virtualhosting based on the SNI server name?

I am thinking on the possibility of the virtualhosting of sftp based on the server name, which was given by the client with SNI. Is it possible? Does any similar already exist there?
1
vote
0answers
86 views

ChrootDirectory for SFTP user in virtual host directory with write permissions and SuPHP

I am trying to give a SFTP user (user2) writeable access to a virtual host directory (website) in /var/www/mywebsite under Ubuntu 12.04. I have setup sshd_config to use Chrooting so that this user ...
1
vote
1answer
418 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. ...
0
votes
1answer
3k views

SSH problems - server unexpectedly closed network connection

Since yesterday I have problems connecting to my server using SSH/SFTP. I can only connect after a restart of my server. When I try to make a connection after a couple of minutes, I can no longer make ...
6
votes
1answer
189 views

Different “RequiredAuthentications2” for sshd and sftp subsystem

we're currently using a 2factor authentication on our SSH servers, so we have "RequiredAuthentications2 publickey,keyboard-interactive" in our sshd_config (publickey for the key, keyboard-interactive ...
1
vote
1answer
140 views

PureFTPd Server on OS X - FTP clients can login but unable to view or write to their folders

Need a real FTP guru for this one I think. If you know something about pureftp please read through the below logs and see if something jumps out at you. People can log in but not post files or make ...
1
vote
2answers
71 views

FTP Multi User Environment doesn't allow multiple logins

I think ths is a general question but I'm not sure if it needs to be migrated because of the technical and security related nature of the beast in question. For my current client we have an SFTP key ...
-2
votes
2answers
435 views

How to uninstall Pure-FTPd on centOS? [closed]

as mentioned in the title I want to remove Pure-FTPd from my centOS server. Can anyone tell me how to do this? What is the command line that remove pure-ftpd? I have centOS 6.5 64-bit. Appreciate it.
0
votes
1answer
341 views

openssh sftp chroot: two levels of access

I would like to achieve the following with OpenSSH's internal-sftp, chroot and Match directive: Users belonging to group sftpuser should have read and write access to /srv/sftp/{username} (or ...
5
votes
2answers
6k 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
2answers
116 views

How do I get AWS EC2 Ubuntu Server out of “Stopping” state?

I was unable to SSH or SFTP into my ubuntu server on EC2 this morning. It should be noted that SSH and SFTP were working fine up until now. To troubleshoot this I did the following: Logged into AWS ...
1
vote
1answer
116 views

SFTP password wrong from remote, but not from local

From my server, connecting to it via eth0 (not localhost), I can connect via SFTP: Apr 9 10:02:40 domain sshd[11526]: Accepted password for test from 1.x.x.x port 45335 ssh2 From a remote ...
0
votes
0answers
86 views

Ubuntu jail SSH & SFTP

So I'm having trouble with jailkit. SSH is working fantastically, SFTP not so much. zoneminder:x:1001:1002:,,,:/home/jail/./home/zoneminder:/usr/sbin/jk_chrootsh scott@neptune:/home/jail/home$ ls -l ...
0
votes
2answers
226 views

File synchronization between local server and a remote web server

I have a local(in office) web server which acts as a testing platform for my website. Also its working as a SVN server to manage my websites code. Also there's a remote web server where my actual web ...
0
votes
0answers
113 views

Creating SFTP Users chrootdirectory /var/www

I am trying to create a new sftp user in Ubuntu 12.04.4 and am running into some trouble. After creating the first sftp user, I document the commands for later user and then delete the user and try ...
0
votes
0answers
67 views

How to solve problematic cpu load due to encryption when using SFTP on a VM

my company is trying offer a sftp service for a big amount of customers. The serving machine will be on a VM and tests have shown that, with an increasing amount of simultaneous users, the cpu becomes ...
0
votes
1answer
1k views

SFTP: Turn off Pageant to force password instead of public key

I'm trying to SFTP to a server with a username and password supplied to me by a client but I keep getting Disconnected: No supported authentication methods available (server sent: publickey). I'm on ...
2
votes
2answers
567 views

Is the SSH SFTP subsystem required on the managed nodes for Ansible to work?

When I run: ansible all -a "/bin/echo hello" -u myuser I get back: mydomain.myhost.com | FAILED => failed to open a SFTP connection (Channel closed.) The SFTP subsystem is disabled on the ...
1
vote
1answer
968 views

sftp gives permission denied only when chrooted?

I have configured sshd_conf on my centos box as below: Match group pilots ChrootDirectory /home/pilots ForceCommand internal-sftp X11Forwarding no AllowTcpForwarding no and the directory ...
1
vote
1answer
228 views

Can sftp check for existing data?

I have 700 binary files (pdf) to download and right now only 400 are available on a sftp server. Can sftp, from the cli, determine what files exist in the local directory so it doesn't need to ...
0
votes
2answers
115 views

SFTP Chroot Ubuntu 10.10

I'm trying to give an SFTP only access to his home directory to a user. This is the /etc/passwd line for the user: bob:x:1003:1003::/home/bob:/bin/false I edited the /etc/ssh/sshd_config file like ...
0
votes
2answers
305 views

rbash to limit user to its home directory closes sftp connection

Server: Red Hat Enterprise Linux Server release 6.5 (Santiago) Using openssh-server to allow sftp connexions. I'm trying to limit users to their own personal home directory. So i modified ...
1
vote
2answers
2k views

Chrooted SFTP user - Write permission denied even for owner

On CentOS release 6.5 (Final) I created a restricted user test1 useradd -s /bin/false test1 and configured ssd_config as following Subsystem sftp internal-sftp Match User test1 ...
-1
votes
3answers
95 views

hostname doesnt work in sftp whereas works in ftp [closed]

Why I cant access a sftp server using my hostname? I can access the ftp server using hostname, but not the sftp server.I have not done any extra mapping for ftp anywhere. But when I tried it with ip ...
1
vote
2answers
76 views

Debian: How to detect when user connects for the first time with SFTP?

I'm trying to set up the following: Allow access to an OpenSSH sftp server via ssh keys only, i.e. no password authentication allowed. SSH keys are generated automatically on the server. The server is ...
0
votes
1answer
431 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
3answers
307 views

Ubuntu SFTP file uploads get disconnected?

I have a few servers running Ubuntu Server 12.04.4 LTS, and they have all had an intermittent problem with uploading files from my Windows development machine. Occasionally when an upload is started ...
0
votes
2answers
106 views

Is FTP and SFTP connection same

The developer who setup this is no longer working with us now. I' am trying to connect to my server through SFTP Example: sftp://127.0.0.1, it doesn't connect. But when I use ftp:// as my host then it ...
0
votes
1answer
408 views

Wordpress SFTP auto update issues

I have run into an issue with WordPress and ssh. Essentially,I am trying to enable auto updating with Wordpress over SFTP. I have followed the directions on This thead on DigitalOcean.com up I have ...
3
votes
1answer
3k views

SFTP: log to a separate file for chrooted user

I would like to log SFTP commands to a separate file however it works only for root but not for chrooted user: # cat /etc/ssh/sshd_config ... Subsystem sftp internal-sftp -l INFO Match Group ...
0
votes
1answer
94 views

folder permissions for linux webhost (ubuntu)

I have a VPS running ubuntu 12.04 that is hosting about 9 sites which are a mix of wordpress and joomla (latest versions). Apache runs under www-data and sites are hosted as virtualhost under ...
1
vote
1answer
73 views

SSH : Restrict sftp to a directory without jailing shell

For a user group I'd like to: Restrict SFTP access to a given directory Use a custom shell for TTY which takes care of only exposing what needs to be exposed from the system but that still need ...
2
votes
2answers
871 views

SFTP does not work for one user, SSH does work

I can login with password via root and user1 I can login with Filezilla via root but not user1 Here is end of Filezilla log Trace: Initialised HMAC-SHA1 server->client MAC algorithm Command: ...
0
votes
2answers
194 views

force group assignment in chrooted sftp environment

I've got the following setting: There are several users /home/user1, /home/user2, and so on. Additionally there is a user /home/sftp-all. The folder /home/sftp-all/shared is mounted in every other ...
0
votes
1answer
2k 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 ...
3
votes
1answer
1k views

Can't get rsync over sftp to work

I'm trying to set up a backup system from an Ubuntu server to a Synology NAS (DS413j) using rsync and sftp. I have created a user for this that we can call ubuntu-backup. I have a directory in ...
1
vote
1answer
133 views

Load Balancer sftp persistence when a server goes offline

Let's say we have the following scenario: We have two identical *nix servers using a shared filesystem. We connect through SFTP (not FTPS) to one of them to upload a file to the shared filesystem, the ...
0
votes
0answers
55 views

How to write a path with dots in sshd_config

I'm writing the default directory for a SFTP user in sshd_config, using this code: Match user ftpuser ChrootDirectory /var/www/ftp.user ForceCommand internal-sftp AllowTcpForwarding no ...
0
votes
1answer
251 views

Set Users as chrooted for sftp, but allow user to login in SSH

I have setup a ssh server on debian 7, to use sftp connection. I chrooted some user, with this config: Match Group sftpusers ChrootDirectory /sftp/%u ForceCommand internal-sftp But if i ...
0
votes
1answer
180 views

SFTP Chroot for Apache2

I'm attempting to setup SFTP (OpenSSH 6.1 internal-sftp) so that a group of users(sftpusers) can access my server specifically to work on development of my website: Match Group sftpusers ...
1
vote
1answer
359 views

Sftp download directory while excluding files with certain extension

So I know I can download a whole directory like this: sftp> get -R * How can I exclude all files with .ipa extension though? I want to download everything except .ipa or .ipa.* files from a ...
3
votes
1answer
1k views

Why use lxc instead of chroot?

One ubuntu server hosts 3 apps all on separate domains. Each app has its own developers. App developers belong to linux "sftp" group. chroot allows password sftp access for each app developer. ...
0
votes
0answers
237 views

Outgoing SFTP not working through Cisco Router (but works through phone)

Router is a Cisco 2900 Series. Trying to SFTP to a Canadian client. No outgoing ports are blocked. I can connect to the same SFTP server when tethered through my phone but not when going through ...
2
votes
3answers
326 views

Cannot jail SSH users to any folder other than their home folder

I need some help on this. I'm attempting to jail SSH users into their own folders so that they can SFTP into a server without seeing the filesystem I have following a simple guide online and managed ...
0
votes
2answers
161 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 ...
0
votes
2answers
107 views

Allow SFTP and process running but disallow ssh for a single user

as the title said, i want to disallow ssh access for a user, but allow the user to execute a java process and access SFTP How this can be done?
0
votes
2answers
84 views

unable to access public ip on occasion?

my server is configured to have a public ip on one network card, and a private ip on the other network card... the server was running fine after some time... suddenly i'm unable to access my server ...