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

1
vote
2answers
31 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 ...
-2
votes
0answers
26 views

How do I setup an SSH to remote into ARM using ethernet port [closed]

I am using the Xilinx Zynq 7000, on the TE0720-1 which is mounted on the TE0701-03 carrier board. I was wondering how do I set up an SSH to be able to remote into the ARM processor of the SoC to be ...
0
votes
0answers
9 views

ubuntu 12.04 - sftp umask with usergroups_enab [duplicate]

In /etc/login.defs I have UMASK 022 and USERGROUPS_ENAB yes This works as expected when logging in through ssh as a user in a single-user group (eg, admin:admin). I end up with 0002 as the umask. ...
-1
votes
0answers
25 views

Owner and full permissions - but cannot upload to SFTP

I've setup chroot for the user sftptest in group sftpusers on a CentOS6 box. I can sftp in and land in the correct chroot directory. I can browse up and down the directories available within chroot ...
1
vote
1answer
26 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
36 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
31 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
37 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
29 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
54 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 ...
1
vote
2answers
55 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
51 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
33 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
31 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
33 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
1answer
97 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 ...
0
votes
0answers
27 views

How to CRUD/manage virtual users in VSFTPD using DB4/PAM?

I'm trying to setup an FTP server using VSFTPD on Ubuntu 12.04. I want to use virtual users because it's safer and I want to create accounts to several people. I have been following this guide: ...
-1
votes
3answers
36 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
31 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
86 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
35 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
1answer
43 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 ...
1
vote
0answers
70 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 ...
2
votes
1answer
454 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
43 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
40 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 ...
0
votes
1answer
471 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
49 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
385 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 ...
0
votes
0answers
57 views

Failed to allocate an SSH connection Error on DataPower When Transferring Files Between SFTP Servers

When I am trying to automatically move files from one SFTP server to another using IBM Data Power, I am receiving "Failed to allocate an SSH connection Error on DataPower (no connection)" errors. ...
2
votes
1answer
255 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
66 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
46 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
85 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
68 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
95 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 ...
2
votes
1answer
337 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
84 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
176 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
136 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
78 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
63 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 ...
0
votes
0answers
118 views

Scp fails in one direction for admin but is successful with root user

I am able to do a scp from one server to anoher using a particular user but the same user is not able to send files back to the first one. I used scp -vv and the detials look as below: Executing: ...
1
vote
2answers
70 views

How do I allow my server to ftp to itself?

I'm on RHEL6 and I'm trying to do an auto update on wordpress but the ftp and sftp connections fail. I suspect it's at least testing the connection from within the server which is not allowed by my ...
0
votes
1answer
71 views

How to mention the prefix directory path in CURL command

I am new to Linux, i want to write the perl script to download the files from FTP sites but here i want to use curl command to download the files. which is working fine in wget command but not working ...
1
vote
1answer
267 views

jailing sftp users without messy folders [duplicate]

Running ispconfig3 on CentOS6. I'm setting up a new server that will host multiple websites for different clients and I want to use sftp as a more secure option to ftp. I have successfully set up an ...
0
votes
1answer
98 views

Hide or revoke permissions to the .ssh directory for sftp and ftp access

I dont want that the user has access to the ssh key via sftp and ftp. Is there a way to change the directory or revoke the permissions, even to see the .ssh directory ? Have not found anything with ...
1
vote
1answer
94 views

Is there a way to disable SFTP access without changing the user password?

We have a web app that allows our users to set up vendor SFTP accounts. We want our users to be able to manage the vendor accounts that can access their server in a reversible fashion, ie, without ...
0
votes
1answer
65 views

Centos6.4: User home directory for sftp

Currently setting up a Centos6.4 box and are wanting to jail sftp users upon login. I've been following the notes here http://www.thisisnotsupported.com/sftp-chrootjail-on-centos6. But I have one ...
0
votes
1answer
79 views

Can't log in to sftp server

I'm trying to set up sftp server with open-ssh to store some files but when I try to connect it I just get "Connection closed by server with exitcode 1" in FileZilla. It can't be just wrong username ...