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
1answer
428 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
73 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
50 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
117 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
98 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
166 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
628 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
130 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
208 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
143 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
87 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
72 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
128 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
80 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
144 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
416 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
124 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
104 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
74 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
85 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 ...
1
vote
1answer
168 views

Why is SSH/SFTP failing for commands with larger returns?

We have a SFTP server which was working fine until we added another ISP. The connection to the SFTP server is not going through the new ISP, I confirmed it with tracert. No change was made on the ...
2
votes
2answers
466 views

SFTP fails on listing directories with large number of files

I try to connect to an sftp server (vsftpd) on Centos server through port 22. there is no problem in connection and initial directory listing; there is also no problem if I click on a directory with ...
1
vote
0answers
121 views

OSX chrooted sftp alternative with sandbox-exec

As a follow up to this stackoverflow question, I am trying to use sandbox-exec as an alternative to chrooted sftp with the internal-sftp method. The sshd config is: Subsystem sftp ...
0
votes
2answers
69 views

SFTP - username/password instead of cert (vsFTPd)

Is it possible to configure vsFTPd or other server to use (1) SFTP over port 22 (2) be encrypted but only require username and password. What is the "https" equivalent in the SFTP world. I don't want ...
0
votes
1answer
308 views

Set Max Upload File Size for SFTP connections

Suppose if I want to limit each upload to be at 25 MB via SFTP, how can I make this possible? Do I add a line in /etc/ssh/sshd_config for that? I tried to look for this information via Google search ...
0
votes
1answer
61 views

File write error while uploading via FileZilla

I have a user xyz which is able to create files in a directory, but when I try to write something on the newly created file, it fails. The file has proper read-write permissions to the owner i.e. xyz. ...
0
votes
1answer
376 views

What causes slow SFTP up/download speeds?

Are SFTP up/download speeds something that's in the control of the hosting company? Can they throttle SSH traffic, regardless of the port? I just signed up with a new hosting company. We'll call them ...
0
votes
1answer
87 views

SFTP Client - File Polling At Regular Intervals

We have a need of a SFTP client running on Windows, which automatically polls for a new file on a designated SFTP location (setup in Unix) every x minutes. Can you please help me identifying such a ...
-4
votes
1answer
722 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
122 views

SFTP, ChrootDirectory and multiple users

I need a setup where I can put the contents of several user folders to a DMZ server from where external clients can download it, protocol SFTP, Linux, OpenSSH. To ease administration we want to use ...
1
vote
1answer
130 views

Setting up SFTP users that are jailed to their home directories with Chef

I'm hoping someone can help me figure out how to chroot jail users to their home directories for SFTP with Chef. I've tried multiple SSH cookbooks and Googled for an answer for several days with no ...
1
vote
1answer
90 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 ...
1
vote
6answers
489 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 ...
-1
votes
1answer
72 views

FTP ip reached by using SFTP command but not FTP [closed]

I've been given by a company their FTP IP where I should connect to. I got also username and password. That is supposed to work with port 21, right? I tried to use FTP command-line but it didn't ...
1
vote
2answers
380 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 ...
3
votes
4answers
239 views

Disallow -p on sftp

We have a server that acts as a "dropbox" for (outside) users to upload data to us over sftp/ssh. We need to process these files (gpg decrypt, unzip, etc) as they come in. In the past, we simply ...
2
votes
2answers
496 views

How to setup a public rsync and sftp server

I want to setup a public storage server which allows sftp and rsync (through ssh). I've got it working with a chroot jail and rssh. When the user connects to the server with sftp he can read all the ...
1
vote
1answer
367 views

How to not run /etc/profile.d/custom.sh during Secure FTP login

When I attempt to Secure FTP (using WinSCP) to my CentOS 6.4 box I'm prompted with a message that states: Received too large (168438314 B) SFTP packet. Max supported packet size is 1024000 B. This ...
-1
votes
2answers
61 views

SSH stopped working for no reason

Please help. Everything was working fine. How can I connect to the command line now? Configuration Amazon EC2 server Ubuntu & Apache2 Only one user (root - not real name) has SSH access, ...
1
vote
1answer
76 views

Copying files over chained SSH connection

I am using a remote server and want to copy files from the server. When using the server, I need to log in with 2 steps. ssh username@A after loging into server A, I need to log in again. ssh ...
0
votes
1answer
153 views

Set FTP User default directory to /var/www Ubuntu Server

Trying to figure out the best way to set the default directory for the few FTP users we have (3 in-house developers who need access simply to the WWW directory). Want to just set it so that if any of ...
1
vote
0answers
100 views

SFTP OpenSSH 5.3 chroot-jail with write access to home directory

I've followed the myriad of tutorials/instructions to setup a CHROOT'ed/Jailed SFTP account, and it works great. However, I need the user accounts to be able to have full write access to their home ...
0
votes
2answers
2k views

How to enable SFTP uploads to Windows Server 2008R2

We need to transfer thousands of small htm files up to a web server running IIS7.5 on Windows Server 2008R2. The files are grouped in folders, each folder containing from 200 to 500 files. Remote ...
0
votes
2answers
237 views

chroot SFTP to another users subdirectory

I've successfully set up SFTP to chroot a user to their home directory. However, I have a case that I haven't been able to find any examples on, and the odd permissions needed for chroot make me ...
0
votes
1answer
167 views

Enabling DSA key authentification for SFTP while still keeping password login as optional (Ubuntu 12.04)

I have a server running Ubuntu 12.04 Server. I want to be able to use SFTP on the command line with a DSA key, so I don't have to type the password into the terminal. Is this possible to do on the ...
1
vote
1answer
494 views

I can SSH but can't SFTP

I am dumfounded at this issue. Brand new Ubuntu 12.04 Server install, I can SSH in, but can't use SFTP (Using Filezilla). It seems to authenticate fine .. But then it errors: The error is: Error: ...
0
votes
1answer
408 views

Unable to SFTP (but can SSH) - Using port other than 22

I followed the iptables here: http://wiki.debian.org/iptables I replaced the standard Port 22 in sshd_config with Port 1234 Currently I'm able to SSH via Port 1234, but unable to SFTP using ...
3
votes
1answer
288 views

SFTP user can't edit or create files

Server: Ubuntu 12.04 LTS I am using openSSH and have created an SFTP user called bob who belongs to group sftponly. I have chrooted bob to his home directory which is /usr/share/nginx/www/bob/. bob ...
0
votes
0answers
87 views

FTP listfiles not working

I get the error 421 error connection timed out. I am already in passive mode, but still it's not able to execute certain FTP commands like LIST , NLST. What could be the cause? I tried using both ...
0
votes
1answer
73 views

SFTP source port used by client

What port is used by a client when connecting to SFTP server listening on port 22? In which range can be that port? Does that range depend on client application used, or it depends on operating ...