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
27 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
24 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
12 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
35 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
59 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
37 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
32 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
35 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
26 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
982 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
92 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
81 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
36 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
48 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
44 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
54 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
836 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
25 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
98 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
222 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
43 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
31 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
37 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
71 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
72 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
140 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
209 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
57 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
45 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
59 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
139 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
75 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
80 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
112 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
94 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
537 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
209 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
490 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 ...