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
15 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
11 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
117 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
20 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
24 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
14 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
41 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
34 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
56 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
79 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
47 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 ...
0
votes
1answer
55 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
27 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
24 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
34 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
1answer
212 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
16 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
37 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
14 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
46 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 ...
0
votes
1answer
116 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
11 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
99 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 ...
0
votes
0answers
64 views

permission denied using a public key with Copssh on a windows 2003 server

I've a Windows 2003 SP2 server with CopSSH version 1.1.0.1 installed. I've a user set up for SFTP who is able to transfer files from two servers. I am trying to add the public keys he provided me so ...
0
votes
1answer
1k views

SFTP Error - Couldn't read packet: Connection reset by peer

I try to configure SFTP on Centos 7, on my first server it works perfectly, but on my second server when I try to connect me with : sftp USERNAME@serveripaddress I have this error : Could not read ...
0
votes
0answers
19 views

Permissions of files and subfolders in /var/www/html (Ubuntu 14.10 + Apache2) [duplicate]

I have some questions about permissions and ownerships of folders and files in Ubuntu Server 14.10 + Apache2. Is it correct that /var/www/html is owned by root:root by default? As far as I read, it ...
0
votes
2answers
70 views

Trying to ChrootDirectory an SFTP user to their home directory

I have followed a few examples of how to do this, all of them end up with modifying sshd_config to Subsystem sftp internal-sftp Match User chubbyninja ChrootDirectory %h AllowTCPForwarding ...
1
vote
1answer
47 views

Any idea why SFTP works differently based on the client machine/network

I have an odd situation. From Computer A with PSFTP.EXE (putty sftp client) I can connect to a remote sftp server and use dir and chdir to browse around. If I try to get or put files I get a ...
-3
votes
1answer
26 views

SFTP - Create a hierarchy of users to control access

I would like to create two levels of users to restrict SFTP access: "parent" users, and "child" users. I need the parent users to be able to access all the directories owned by the children, but the ...
0
votes
1answer
46 views

What firewall configuration do I need for SFTP to be able to put files on a remote server

I have a situation in production where SFTP (using Putty PSFTP) is working when I connect and list files on a remote server but put and get fail with error permission denied. In my dev environment I ...
0
votes
1answer
68 views

SFTP connection issues

I just setup a new debian sftp server in order to provide access to multiple CHROOTed users. While the first account I added works just fine, the second one disconects right after authentication. ...
0
votes
0answers
69 views

Howto setup socks proxy for sftp on windows

I have a windows server and I want to setup a sftp server over socks proxy. A firewall is running but my ports are open. First, I have installed an sftp server with a local test account. It is up and ...
0
votes
0answers
48 views

CentOS - how to chroot sftp and have mysql as shell

I have a user who I would like to have sftp access to one folder only (chrooted). Also he logs in with ssh, I would like him to only have access to mysql. I am able to chroot the users sftp (by ...
0
votes
1answer
74 views

Give SFTP users and Apache write permissions on same folders

I have a centos6 web server where developers also upload by connecting through SFTP. So, to give developer login write permissions, I have change /var/www user to that user. My current permissions ...
-1
votes
1answer
38 views

SFTP best way to remote access multiple intranet machines except for using VPN?

I have only one public IP address, behind it are some virtual machines that I need to access using WinSCP/FileZilla from public internet. I know I can do port forwarding on the router like ...
1
vote
1answer
65 views

OpenSSH as SFTP server: Trigger successful and faulty changes

I am using the current OpenSSH version on Debian 7.7 Whezzy, which is, according to dpkg, 1:6.0p1-4+deb7u2. I configured OpenSSH to allow clients to connect using SFTP, and read and modify (upload or ...
0
votes
0answers
55 views

SFTP permissions with domain users Ubuntu Server 14.04.1 LTS

If there was ever a linux question, it usually has something to do with permissions. Alright, so I'm trying to set up a sort of "double-blind" SFTP server. I'm looking to make a folder, ...
-1
votes
1answer
69 views

Issue with access via port 22 from some FTP clients [closed]

I am having an issue with connecting to an SFTP server. On the same computer when I access SFTP via application A, I am given access, but when I use application B, I have no access. In my server ...
0
votes
1answer
114 views

Files uploaded using FileZilla with SFTP are missing permissions

I am using chroot in sftp. And it works perfectly, but files uploaded with FileZilla are stored without any permissions (basically 000). ---------- 1 cwsftp sftp 4364328 Jan 19 16:02 ...
2
votes
1answer
191 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 it? I mean the first one is using a lib from openssh and the second one says "use the ...
0
votes
1answer
57 views

Setup a secondary SSH/SFTP user with limited directory access

I am trying to create a new secondary user that has access to SFTP files and SSH access to a specific directory. I have the SFTP work, but when I try to login via SSH, I get the following error: ...
1
vote
1answer
66 views

Daily sftp stops working, and weekly sshd fails and needs reinstall

My server has daily issues with its SFTP. Everyday I need to change the SFTP subsystem. Everyday it gets reset to: Subsystem sftp /usr/libexec/sftp-server While it has to be: Subsystem ...
0
votes
1answer
55 views

sftp login issue with chroot

I want to be able to create a structure for hosting multiple sites. I want the user files to reside inside /var/www/sites/domain.com and the sftp access to be restricted with chroot. I've followed ...
0
votes
1answer
65 views

Configuring Chroot for SFTP Users

I am trying to configure a SFTP server for some automated backups. I configured an Ubuntu 14.04 server and have had partial success. The idea I'm looking to do is this: A user will be created for ...
0
votes
1answer
31 views

Can we put condition in ChrootDirectory directive of Match Group in SFTP configuration?

I am using SFTP with active directory. After authenticating users I am redirecting all users to one directory that is upload2. But now I want redirect some users to one directory and some users to ...
13
votes
3answers
2k views

Enable SSH shell access but disable SFTP access

I've searched for a viable answer to this question, and most of the answers include advice on why to not do it. However, here's the scenario, and what makes it necessary: I have a console app, and in ...
-1
votes
1answer
242 views

SSH login works but SFTP login doesn't

I already saw this thread, but it didn't answer my question because it has been left for dead. As the title says, when I log into my VPS with putty, everything works fine. But when connecting with ...
7
votes
1answer
129 views

How to detect or log interrupted uploads with OpenSSH SFTP server?

I have this problem where a customer of ours has been SFTP-ing truncated data. I'm not sure if the problem is on our end or his. I've enabled SFTP logging but it does not allow me to detect if an ...
0
votes
1answer
62 views

Remote SCP & SSFTP access to linux server denied

This situation is a bit embarrassing but I could really use some help. I took steps to secure my linux server by carrying out the following steps: created and use a different user to use in place ...
2
votes
1answer
142 views

cant sftp into ubuntu server

Hey guys I've set up an openssh server, but I still cant sftp or ftp into my ubuntu server. I am always getting login failed errors for every attempt i try to make. I am running ubuntu 14.10 I ...