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
votes
1answer
40 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 ...
4
votes
1answer
30 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
23 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
23 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 ...
1
vote
0answers
14 views

Add trusted remote certificate to Ubuntu server

I'm running an app on an AWS server running Ubuntu 12.04.4 LTS. I'm writing a script to connect to an SFTP server from the command line, but am unable to connect. I believe this is because my Ubuntu ...
0
votes
1answer
41 views

Linux SFTP user without a home directory

Suppose I have a home directory called "website". I want to create an sftp user to access that home folder and the sftp user is going to have a less obvious user name. There may be quite a few users ...
4
votes
2answers
328 views

Is IIS SFTP natively supported by Windows Server 2012 R2?

Does Windows Server 2012 R2 have native SFTP support? I see a role FTP Server but it doesn't say whether this includes SFTP.
0
votes
1answer
18 views

Logging SFTP activity with auditd

I am currently using auditd to log TTY activity for users that are SSH'd into my system. However, SFTP sessions are not logged in this way. Is there a way to log them using auditd or will I need to ...
-2
votes
1answer
41 views

How to open sftp connection and execute sftp command in the same shell command [closed]

Is there any possibility for opening sftp connection to remote server and execute sftp command in same line from shell. Something like this: sftp user@example.com && put /tmp/test.txt /tmp/ ...
2
votes
1answer
175 views

SFTP-server uploaded files having wrong rights

I have been trying to figure out what is wrong with the file rights. When I am uploading files using FileZilla all the files get rights -rw-r--r--. I would want them to have -rwxr-xr-x. I have tried ...
0
votes
0answers
35 views

Enable activity logging on Cygwin open SSH (sftp) server install on Windows Server 2008 [duplicate]

I've successfully installed and configured OpenSSH using the Cygwin package on a Windows 2008 Server. I have also installed the Syslog-ng Cygwin package and configured it so that I receive basic ...
0
votes
1answer
37 views

Mount a SFTP remote filesystem that doesn't give shell access

I have a NAS that exposes its filesystem as SFTP, but it doesn't give any access to connect throught SSH as a normal user. I've tried to use sshfs to mount it from a remote webserver, but I receive ...
0
votes
0answers
40 views

Best practice for delivering SFTP key to client?

We are rolling out a solution that is going to leverage SFTP, we have hundreds of sites we want to deploy this to. The solution is basically a windows service that is using an installer, so it's a ...
0
votes
1answer
23 views

exclude a single user from chroot

I have a chroot setup on my CentOS server, (chroot with no shell access / strictly sftp). Just for reference, the folders are like so: home/sftp_users/%u (root:root 750) home/sftp_users/%u/input ...
0
votes
1answer
76 views

FTP Script Needs overview

I am trying to write a script that allows me to check a directory for files that i will sftp to another server. When the file is created it creates a .ready file that is supposed to signal a file is ...
1
vote
0answers
23 views

SFTP encountering Bad Message

I am uploading a file via sftp to a remote server. While on transfer, I got a message that says, "stalled". I killed the sftp running on my local. The problem is, I cannot delete the partially ...
-1
votes
2answers
49 views

Make hidden folders invisible sftp [closed]

My client needed sftp server for sharing files, so I created sftp server on a amazon ec2 ubuntu machine and added different users. Now their need is when user login to sftp server either via winscp ...
0
votes
0answers
49 views

SFTP Reverse-Proxy using iptables on custom port

I want to give SFTP access to anyone into to my Server (IP: ss.ss.ss.ss) passing through Proxy (reverse-Proxy? IP: pp.pp.pp.pp), so that IP ss.ss.ss.ss is never seen by whoever is connecting to the ...
0
votes
1answer
105 views

chroot with sftp on centos 6.5

I'm trying to get sftp working with proper chroot configuration on Centos 6.5 server. As for now I get: sftp user@000.000.000.000 User@000.000.000.000's password: Write failed: Broken pipe Couldn't ...
1
vote
2answers
65 views

Safety of sshpass and SFTP to dynamic host

I have a server with dedicated IP address A and a server with dynamic IP address B (routing via no-ip.org). A uploads a backup to B via sshpass: export SSHPASS=*** sshpass -e sftp **@** << ! ...
2
votes
1answer
111 views

does OPENSSH SFTP server uses umask or preserve client side permissions after put command (chrooted environment)?

I know this question has been already discussed, but by reading the posts I could not figure the answers, because some said "yes umask can work", and others say "openssh put command always preserve ...
0
votes
1answer
46 views

SSH keygen error (setting up a SFTP server)

I was following this tutorial, but a problem occurred and I couldn't find any help while googling it. Whenever I ran the command sudo ssh-keygen -e -f ~username/.ssh/authorized_keys | sudo tee ...
0
votes
1answer
35 views

Nginx redirection to url writen in requested file

I need to setup dynamic redirections. For example, a user open a link : http://www.example.com/2/3/4/ and see the page on the following address: http://www.example2.pl/something. I know about ...
1
vote
1answer
63 views

SFTP for users (own site folder)

I'm trying to config SFTP, so that my users can access their own site folder (with PSFTP/FileZilla). I use Vagrant, CentOS7, NGINX and .sh file. This is my bootstrap.sh, for creating one of my users. ...
0
votes
2answers
52 views

server side cd on sftp client connect

Is there a way with sftp to have it configured server-side to run a cd command when a client connects? I have my users thrown in to chroot, the folder has to be root:root chowned and cannot be ...
0
votes
0answers
75 views

Default value of pasv_address in FTP configuration (vsftp)

What is the default value of "pasv_address" in the vsftpd config? Will it be the IP address the client uses to connect to the server?
0
votes
1answer
26 views

Determine the setup of an existing SFTP user

CentOs 6 Linux Server I have an SFTP user (userok) that is jailed to a particular sub domain. All working perfectly fine and that is all that user has access to (full permissions). I have just ...
0
votes
0answers
58 views

“Jailed” user can access `/dev` directory under SFTP

I set up a jail for a remote user under SSH (Cygwin), and he is jailed at /jail/user/home/user. When he connects with some SFTP client (ex: Filezilla), he can access his /home/user folder and control ...
0
votes
0answers
58 views

Can't change files with Transmit through SFTP. Wrong permissions

I'm having an Ubuntu Server installation. In a folder deployed a wordpress installation and because of the file uploads, plugin updates etc I chowned the entire folder and its subdirectories to ...
0
votes
1answer
78 views

Virtualmin FTP/SFTP connection and large files

I have added FTP user to an account and assigned to that user shell /bin/sh so can connect using SFTP. I have tested connection with a small file but it comes that can't upload anything bigger than ...
-2
votes
1answer
36 views

How do a sftp uri look alike? [closed]

I am new to SFTP, For the ftp, the link will appear as ftp://servername/folder/ We can see the list of files in that link. To look on a specific file, the link will be mentioned as ...
0
votes
0answers
49 views

ProFtpd with ssl and jailed users that cannot login to bash

I've followed several instruction pages and tutorials about configuring ProFtpd on Ubuntu (12.04) and they all give me "one thing works while other don't" solutions. Goal is to utilize SFTP protocol ...
-4
votes
1answer
32 views

How can I disable SFTP so that FTP is the only daemon open? [closed]

I've searched the web for hours and the most I can find to do is to comment out the following line out of my sshd_config: Subsystem sftp /usr/lib/openssh/sftp-server Which I have done, with a fresh ...
1
vote
1answer
41 views

Connect to server with ppk from console

i am trying to connect ubuntu server using sftp server. But the problem is i have a ppk key and i mustn't convert it to openssh. Is there a way to connect to server using ppk from command line? This ...
1
vote
2answers
87 views

Reliable file transfer between three systems

I've got three systems I need to transfer files between daily: Vendor A (SFTP site) - Deletes files after 14 days Vendor B (SFTP site) - Deletes files after processing them Company Server (Windows ...
0
votes
2answers
402 views

Exception calling “UploadFile” with “2” argument(s): “The Content-Type header cannot be set to a multipart type for this request.” [duplicate]

I am working with a script that is supposed to first check if a PC is alive then FTP a file to a server. However, when running the script I am getting the following error: Exception calling ...
0
votes
1answer
179 views

Does Git server over SSH requires SFTP?

Does Git server over SSH requires SFTP module? Official manual lacks info here: http://git-scm.com/book/en/Git-on-the-Server-Setting-Up-the-Server
1
vote
0answers
339 views

Match Group restriction in sshd_config does not work

I have got two groups in sshd_config: AllowGroups sftpusers sshusers And I have two groups below subsystem sftp /usr/lib/openssh/sftp-server: Match Group sftpusers,!sshusers ...
5
votes
3answers
575 views

Restricting the network access of Docker container

I'm in the process of creating an SFTP only Docker container, one that will be used by multiple people for the sole purpose of uploading and managing files in their own chrooted Environment. On ...
0
votes
1answer
117 views

SFTP restrict users to a few directories

I run a game server and I have a few people that I want to give access too the server to help develop. I am trying to let them have access to only these directories /var/www/Update /root/gamed/config ...
1
vote
1answer
164 views

chroot user to var/www/html

Can I limit a user login through sftp only can see and change files under var/www/html folder? I tried below, but then I can't login in Transmit through sftp # adduser user_www # passwd user_www # ...
0
votes
1answer
329 views

Need help - limit access to sftp user to other users home->subfolder

I have been able to find a lot of help with jailing a user to their own home folder and restricting them only to sftp but I working on a more advanced solution. What I am trying to do and can't find ...
0
votes
3answers
94 views

How to zip lots of folders into three+ independent zip files? [closed]

I have a massive amount of folders, and I want to zip/gzip/(what ever) them into 3 or more independent files. So for example, let's say I have this directories on my server: /dir1 /dir2 /dir3 /dir4 ...
0
votes
1answer
153 views

Setting up a chrooted SFTP user in a directory whose parent has group write permissions

I have a user who only has sftp privileges (no ssh) and who is chrooted in SFTP to /data/docker. /data (which is a separate drive) has 775 permissions and I'd like to keep it that way. However, when ...
0
votes
1answer
119 views

Can't gain access to SFTP after changes in /etc/ssh/sshd_config

I simply trying to make some changes in sshd_config file with port and other line (don't remember which one) and now I can't log in to my SFTP. It is possible to make some changes in this file using ...
0
votes
1answer
203 views

SSH Works fine but i cant connect to SFTP [closed]

I am facing strange issue, I am using Centos6. I can connect to ssh but i am unable to connect to SFTP. now the strange part is, if i restart server, SFTP starts working again for few mins, and then ...
1
vote
1answer
452 views

Exit code 126 from SFTP

I've been notified that SFTP access is no longer working on an Amazon EC2 server running Ubuntu. I had done some work creating SFTP access for other users on this server. The limited user access is ...
-1
votes
2answers
901 views

Chrooted ssh user cannot ssh into server : broken pipe

I just tried the following to add a new user, chroot the user and give him access to the folder /home/me/public_html via sftp and ssh : ##the following command are done by root or a sudo user useradd ...
0
votes
1answer
144 views

ProFTPd mod_sftp mod_sftp_sql

I am working on Ubuntu 12.04 I have setup a ProFTPd service with SSL/TLS, virtual users stored in a MySQL database and quota (mod_tls, mod_sql, mod_sql_mysql, mod_quotatab, mod_quotatab_sql). It works ...
0
votes
1answer
101 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 ...