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

Is it secure to do “chroot” SFTP directory without actually setting owner to be root?

I don't know if this sounds wrong, but I have a use case where I need to run a cron job and rsync the data into the SFTP file directory. Typically SFTP set up on the Internet would suggest to set the ...
0
votes
2answers
27 views

Block chmod over SFTP

Is it possible to block chmod over SFTP without patching the SSH daemon? I read somewhere that you can do this via ACLs although I am not quite sure how that is supposed to work.
0
votes
1answer
18 views

how to customize google compute engine sftp path?

I have configured sftp for my google compute engine VM instance by key method. I had generated a private and public key by Puttykey generator tool. Then i add that public key to my vm instance path ...
1
vote
1answer
38 views

SFTP for Customers

We would like to setup SFTP on windows server 2003 in such a way that all our customers (approx. 15 users) can have their own download/upload shares (without creating users in windows domain). We must ...
2
votes
1answer
13 views

Blacklisting and whitelisting SFTP requests

I see that the sftp-server and internal-sftp support blacklisted and whitelisted protocol requests, however, I don't understand what exactly can be passed to those arguments.
6
votes
1answer
194 views

Why is FileZilla so much faster than PSFTP?

I'm using FileZilla 3.10.3 and PSFTP 0.63 (PuTTY). Can anyone help me figure out why the throughput I get is so drastically different between the two clients? It can't just be a shortcoming of the ...
1
vote
1answer
23 views

Adding address to known_hosts command line

I am having trouble adding an IP to known_hosts from command line. I have a mysql backup script that is supposed to upload files to an other server using sftp. The script works fine, but you have to ...
2
votes
1answer
118 views

A proper way to create a chrooted SSH on CentOS 7 [closed]

There are a lot of tutorials of how to create a chrooted SFTP, but I would like to use SSH, because it is much faster to simply wget, unzip, mysql and mysqldump than tossing around the FTP and ...
0
votes
0answers
31 views

SSH stalled after a while

I am executing some commands over SSH from a linux client (centos 7) toward a server (wind river linux) and for a reason it always stopped ( not completed ). If i executed a command that take short ...
0
votes
0answers
18 views

Can't display files from a vsftpd server on centos 6

It's a Centos 6 running apache server and vsftpd server. Problem is not about connection, it's about displaying folder from local_root directory. Here is /etc/vsftpd/vsftpd.conf : # Example config ...
-1
votes
0answers
17 views

Conflict between SSH Tunnel and Secure Information File Transfer

I am currently working on a site where there is an SSH tunnel between our server which hosts the site and the customers server which hosts the database. This connection was not stable so i added ...
-1
votes
1answer
96 views

Server unexpectedly closed network connection (sftp + putty) [closed]

I am running CloudLinux 6.6 with Cpanel/WHM. We had disabled default port 22, but a client required it, so ever since I switched back to port 22, we have experienced "Server unexpectedly closed ...
1
vote
0answers
77 views

Server unexpectedly closed network connection [closed]

I have Godaddy Shared Linux Hosting. I have enabled SSH. When I try to connect with SFTP or SSH, I frequently get this error: Server unexpectedly closed network connection If I keep retrying, I ...
1
vote
2answers
59 views

Polling FTPS/SFTP Server with Windows Server 2012

Is it possible to securely routinely poll an external FTPS (or SFTP) server and copy/move the files locally using standard Windows Server 2012 functionality? I imagine the use of scheduler to do the ...
0
votes
0answers
18 views

pure-ftpd-mysql doesnt work after install

I searched for a tutorial to install the ftp-Server correctly and I found this tutorial to install pureftpd-mysql but I can't login with the example user or any other user. I tried 2 other tutorials, ...
1
vote
1answer
73 views

How to solve TLS error in Filezilla FTP client? [closed]

When i try to connect a site files by Filezilla FTP client, i get the following error Status: Connecting to 91.109.7.88:21... Status: Connection established, initializing TLS... Error: ...
0
votes
1answer
118 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 ...
0
votes
0answers
64 views

Banned from SSH Centos server but can't find where

For some reason my ip address is banned from using ssh or sftp. I have no problem connecting to the server using an other ip nor i have problems reaching all other services (like http, teamspeak) with ...
0
votes
0answers
36 views

Why would a server's RSA fingerprint change every few seconds?

In the past I've been able to connect to my server via SFTP with no problems, but suddenly yesterday it warned me that the fingerprint for the RSA key sent by the remote host had changed. I've ...
0
votes
1answer
43 views

sftp: get file by mtime

Objective: Connect to sftp server with very simple script using -b option, cd to directory and get file with the latest modified time or created time. I can connect and download *.csv but that may ...
0
votes
1answer
44 views

SSH - ChrootDirectory not working

I am trying to chroot a "test" user (group sftp) to /home/test. I've added the following lines at the end of my sshd_config: Subsystem sftp internal-sftp Match User test ChrootDirectory ...
0
votes
0answers
27 views

SFTP and rsyslog: log activities of specified users only?

After a lot of anguish, I finally managed to get chrooted SFTP logging working in Ubuntu 14.04. Relevant bits from /etc/ssh/sshd_config: Subsystem sftp internal-sftp Match Group sftp-only ...
2
votes
0answers
43 views

SFTP logging configuration fails with an error (OpenSSH 5.1)

Adding following line to sshd_config Subsystem sftp /usr/libexec/openssh/sftp-server -f LOCAL5 -l INFO When i start sshd service it fails with error "garbage at the end of line : -f" My openssh ...
0
votes
1answer
23 views

Not able to restrict the user to particular directory in unix

Below are the steps I performed: I created group sftponly. Added one user named sftpusers to that group. Added Subsystem sftp internal-sftp to file /etc/ssh/sshd_config Added this line to the file ...
2
votes
1answer
58 views

Set Initial Remote Working Directory in SFTP

I am running Amazon Linux AMI (Red Hat derivative), and am creating a new SFTP server using OpenSSH. I would like for the SFTP user to be restricted to a directory, and to be able to write to the ...
1
vote
2answers
78 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 ...
-1
votes
2answers
99 views

Chroot user to an existing folder witch parent owner isn´t root [closed]

We have moodle installed on our company and due to big SCORM packages + slow conection + proxy, I usually upload them with SFTP with my root user. Now, I want to give users a way to upload files by ...
0
votes
0answers
62 views

SFTP chroot jail not working

Trying to follow this tutorial but for Arch Linux. /etc/ssh/sshd_config: # override default of no subsystems #Subsystem sftp /usr/lib/ssh/sftp-server Subsystem sftp internal-sftp ...
0
votes
0answers
51 views

Bad File Descriptor when trying to use SFTP with chroot

I am on CentOS 6.5 using OpenSSH_5.3p1. I have attempted to set-up a chroot environment. After connecting using SFTP, when I use the 'ls' command, the connection is closed. The following is being ...
6
votes
3answers
216 views

Copying over SSH via Putty tools is slower than via WinSCP

Uploading from my Windows PC (1) to my Ubuntu machine (2) in another city using PuTTY tools is slow. I tested this over OpenVPN tunnel and via port forwarding to (2). It turns out that using rsync ...
-1
votes
1answer
96 views

admin panel on port 2030 in CWP is not opening [closed]

I have dedicated server with centos and proxmox ve. Also made virtual machine with centos 6 and centos webpanel in proxmox. From last four month I'm using this and everything is working properly mean ...
-1
votes
1answer
38 views

SFTP and SSH Logins [duplicate]

I've been doing my research and found some clues as to where I should be looking, but just can't quite get it perfect. I'm trying to create a new user, and allow them to have access to SFTP for file ...
0
votes
0answers
30 views

Setup directory links in user SFTP root directory with copSSH on Windows

I'm trying to configure copSSH to allow a specific user to access several folders on the C drive. However, if I create simple directory symlinks (using mklink /d), then the SFTP clinet can't get into ...
0
votes
0answers
79 views

can' t access ec2 instance for additional user with sftp or ssh - key refused

I keep getting server refused our key error with putty/public key rejected error in filezilla when trying to access my ec2instance with a new user. Access works fine for both ssh and sftp with the ...
-1
votes
1answer
45 views

Syncronize new / modified files trought SFTP on Linux [closed]

I only have a SFTP access on my NAS, on Lacie OS 3.X, (so exit rsync) and i want to backup it from a remote debian server. The problem is that the NAS is 4TB and it can take a lot of time if i ...
1
vote
0answers
137 views

CentOS 6.5 ssh ChrootDirectory not working

I have been trying to configure my CentOS 6.5 minimal 64 bit machine to allow SFTP users to connect and get jailed to specific folders. I can sftp in using the unix commmand: "sftp user@localhost" and ...
0
votes
1answer
501 views

How can I set up an SFTP server backed by S3 (or similar)

I need to set up an SFTP server that, essentially, has very large capacity. I need to give one of our partners SFTP login details to a server where they will upload millions of files, totalling a few ...
0
votes
1answer
99 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 ...
1
vote
1answer
159 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 ...
0
votes
0answers
34 views

Redhat configure sftp

I would like to give someone in a different dept read only sftp access to a certain dir on a redhat 6 server. Easier said than done I've found. I've followed a guide like this one to setup the user to ...
0
votes
0answers
52 views

SFTP Connection issues when small connection limit

I am connecting to an external SFTP server. The server limits the number of concurrent connections to 2. I'm seeing behaviour that indicates that when my client code closes an SFTP connection, I ...
1
vote
1answer
68 views

sFTP users permissions to overwrite/edit over root owned files

This is related to Give SFTP users and Apache write permissions on same folders So, I am using ACLs to give write permissions over /var/www. It works perfectly when developer login users upload new ...
0
votes
2answers
1k 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
0answers
23 views

ForceCommand vs Subsystem

Is there any particula reason why I should use ForceCommand internal-sftp instead of Subsystem sftp iternal-sftp and disabling the shell?
-2
votes
1answer
42 views

Install SSH key in UNIX server

I'm trying to connect to a UNIX server from a Windows server, through PSFTP. I am using this command in CMD: psftp.exe -i %userprofile%\.ssh\certificate.ppk username@unixserver The problem is that ...
0
votes
1answer
39 views

SFTP and syslog-ng custom logging format

I have modified sshd_config and syslog-ng configs to log sftp connections into separate files. Now I would like to create custom logging like: [date] [source_ip] has downloaded the [filename] [size] ...
0
votes
1answer
97 views

How To restrict ftp user in /var/www/html folder only not to others directory

Hope you all are doing fine. Team I want to strict ftp user only for /var/www/html directory not to other's. Please share your valuable suggestion for that. I have checked lots of Blogs, Forums etc ...
1
vote
3answers
218 views

Duplicity error: BackendException: ssh connection to SERVER_IP:22 failed: Unknown server SERVER_IP

I'm trying to setup a backup system with Duplicity. I have a server that I want to backup to another SFTP server. If I try to connect via sftp it works fine: root@SERVER:~# sftp user@SFTP_IP ...
0
votes
0answers
15 views

What part of the reboot cycle in Linux is WinSCP detecting as FTP port 21 being available?

When I rebooted one of my boxes running Ubuntu Server LTS 14.04.1 today, I received a strange message from WinSCP during the automated reconnect attempt that I've never seen before: ...
0
votes
1answer
332 views

SFTP Error: open for write: permission denied

I have created a user and a group only for SFTP and when I try to transfer a file with Filezilla in /var/www I have this error: Open for write: permission denied I have configured sshd_config like ...