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
8 views

CentOS 6 - Wordpress - Multi-developer Permissions [closed]

I have several websites on a CentOS 6 server. Some are wordpress, some not. I need to create jailed developer accounts specific to each site. My ideal environment is: Jailed accounts specific to ...
-1
votes
1answer
29 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
46 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
35 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
29 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: ...
2
votes
0answers
33 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 ...
-3
votes
0answers
8 views

Disable remote ftp in OS X but allow ftp from localhost [migrated]

I am running OS X 8.5 I want to disable remote FTP but allow local FTP because I need to use SFTP. Is there a quick command that might handle this?
0
votes
1answer
37 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
22 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
19 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
966 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
88 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 ...
6
votes
1answer
76 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
34 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
47 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
38 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
51 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
704 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
24 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
95 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
214 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
41 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
46 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
28 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
78 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
36 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
68 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
70 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
132 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
76 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
186 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
55 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
44 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
71 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
58 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
135 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
28 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
73 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
74 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
106 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
37 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 ...
-4
votes
1answer
34 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
49 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
93 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
524 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
205 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
475 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 ...
6
votes
3answers
755 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
139 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 ...