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
vote
0answers
73 views

Interpreting TCP Traceroute results here?

I used to be able to connect via SFTP to a remote server to download files. Our local server is Windows 2008 Enterprise and the remote server is Unix. The local computer and the remote server are ...
2
votes
1answer
151 views

fatal: bad ownership or modes for chroot directory component “/” in SFTP

I've been trying to configure sftp in a debian server.sshd_config: Subsystem sftp internal-sftp UsePAM no Match User sftpUser ChrootDirectory /users/sftp/sftpUser ForceCommand internal-sftp ...
1
vote
1answer
20 views

SFTP script gets different destination response when run from different directories

I'm baffled by an SFTP shell script and any help would be greatly appreciated. I wrote an sftp script to connect to and upload ACH information to a banking site. The script uses 'expect' to wait for ...
4
votes
2answers
682 views

What could cause an SFTP host key fingerprint mismatch?

A remote user has tried to connect to my SFTP/SSH server for the first time, using the "Transmit" client under Mac OS X, and has found that the host key fingerprint doesn't match the expected value. ...
0
votes
0answers
102 views

Windows Server: How to achieve User Isolation with SFTP (SSH) server to match existing FTP User Isolation settings

I've got my FTP server (IIS in Windows Server 2008) working the way I need -- users log in and have access only to a directory that is named the same as their username. However, we would like to move ...
0
votes
0answers
108 views

Load Balanced SFTP Server

we have 2 Load Balanced web servers on Azure and I am trying to set up a load balanced SFTP connection for my client. I have tried doing this using a load balanced end-point on azure for SFTP but the ...
0
votes
0answers
15 views

Bypass hops viewed in tracert?

This is the issue that we're having: I use filezilla to connect via SFTP to a remote server to download files. Every box in this scenario (local server, remote server, my workstation, etc) are under ...
1
vote
2answers
110 views

Finding out what happened that I cannot connect to SFTP server?

We have a server with Windows Server Enterprise that runs a simple console app that connects to another server via SFTP in order to download files. I believe the remote server is Unix server, but I'm ...
-5
votes
1answer
34 views

Openssh key to access remote sftp server from RHEL [closed]

I have generate public key and private key in windows 7 through puttygen then change the key to openssh in puttygen through export key. Now I want to use this openssh key to access my sftp server from ...
0
votes
1answer
56 views

CentOS7 SFTP - Not Detecting Private Key

I have a CentOS 7 server with OpenSSH installed which it's primary purpose is to be an SFTP server. I have several clients who connect to this server using either Private/Public Key authentication or ...
-2
votes
1answer
93 views

What does the following Java SFTP error mean? [closed]

I am new to security domain and wanted to get understanding of this error I'm getting : com.jcraft.jsch.JSchException: UnknownHostKey: 127.0.0.1. RSA key fingerprint is ...
0
votes
1answer
51 views

How do I watch local# to ensure messages are being sent to it?

I am trying to collect additional operation logging from my sftp server. I have added the following lines to /etc/ssh/sshd_config, as instructed by many posts on the internet: Subsystem sftp ...
1
vote
1answer
43 views

users to connect SFTP server with openssh key [closed]

I want to be able to allow users to connect to my SFTP server with openssh key which I generated in keygen. How would I accomplish this?
0
votes
5answers
86 views

Is there a way, using sftp, to copy a file on a remote file system to the same file system?

Is there a way, using sftp, to copy a file on a remote file system to the same file system? What this means is user@hostname:/path/file.txt to user@hostname:/path/copy_of_file.txt from a remote ...
0
votes
1answer
359 views

How to add user with SFTP access to '/var/www/html/adir' folder on Amazon EC2?

This question is very much related to this question. The answer there is useful, but unfortunately incomplete. How to add user with SFTP/ FTP access to '/var/www/html/website_abc' folder on ...
0
votes
2answers
80 views

Public SFTP server directory with no password or keyfile

I want to be able to allow users to connect to my SFTP server under a restricted user that only has read access to view files in a certain directory that I upload to without it requiring a password or ...
0
votes
0answers
227 views

ProFTPD SFTP with virtual users in Postgres sql database

First of all, I know that my question is similar to one posted previously but I couldn't solve my problem just with that (ProFTPd mod_sftp mod_sftp_sql). I am running debian 7.8 and I have a running ...
0
votes
1answer
211 views

SFTP connections to docker container break when using packet forwarding instead of port binding

Setup I am trying to make a setup that allows me to directly connect to docker containers from my LAN without binding individual ports to the docker hosts IP addresses. I have turned on IP ...
0
votes
0answers
90 views

Capistrano change SCP to SFTP setting

I tried to set up a simple capistrano deployment, and get the following error when deploying: SSHKit::Runner::ExecuteError: Exception while executing as user@server.com: SCP did not finish ...
1
vote
2answers
147 views

Best practice for WordPress, direct auto updates and SFTP access for users

I'm trying to set up a secure WordPress site on a Debian 8 system with the following requirements: automatic core updates (FS_method "direct") chrooted SFTP access to /wp-content (for a single user) ...
0
votes
1answer
97 views

internal-sftp -u 002 is ignored for copied files

I configured OpenSSH like this Subsystem sftp internal-sftp Match Group sftp ForceCommand internal-sftp -u 002 AuthorizedKeysFile /home/sftp/ssh/%u ChrootDirectory %h ...
-1
votes
1answer
36 views

Using SFTP + make default start directory

At start, i would liek to sorry, i"m new in linux administration, but I"M learning fast, right now i got a problem with sftp (was searching 2 days, how to fix it, but nothing has help.). Soo, let me ...
3
votes
2answers
293 views

Can't connect to SSH/SFTP - but only in certain programs

I'm using UltraEdit (Windows) to edit files on remote SFTP servers. For some reason I can no longer connect to one of those servers. Here's what was changed: The server was moved (and updated) from ...
-2
votes
1answer
102 views

How to monitor SFTP with monit

I just installed monit and checked the web interface. Unfortunately proftpd is marked as not running although it's running. I think it's because I'm running proftpd with S/FTP not FTP. Is it possible ...
0
votes
4answers
214 views

Whether using FTP to transfer encrypted files is safe?

I am planning to transfer encrypted files over FTP. However my other partner wants to use SFTP instead of FTP for security reasons. However my take is since the files are encrypted we can still go ...
1
vote
0answers
94 views

Automatically change remote user with sshfs

I have two remote servers, foo and bar. On both servers I have a user git (with different uid and gid). Both servers are running Debian distributions. Both servers have their each others' root ssh ...
1
vote
2answers
78 views

Deny deletion after SFTP upload

I'd like to prevent users from deleting files they have uploaded to my sftp server. I know I could set up a solution of my own using inotify/dnotify (or pam hook) and lsof which triggers a script to ...
1
vote
0answers
52 views

How to enable SFTP error status in RHEL7.1?

Here is the problem that I am facing. I have a provisioning server which runs a perl script to upload and download certain files in a regular interval using sftp. The sftp command is executed in batch ...
0
votes
2answers
130 views

sftp returns code 0 even if there is an error reported “Couldn't create directory: Failure”

I am trying to write a Bash script responsible for creating a folder on a remote server. Snippet: !/bin/bash -e echo "Creating remote folder." echo mkdir test_folder | sftp -oPort=22 ...
0
votes
1answer
44 views

Allow webserver user to unlink SFTP-uploaded files

I've set up SFTP, so that some users can upload files to a directory where the web application can pick them up. The webserver is running as user A, and SFTP is configured for user B. User A is ...
3
votes
2answers
57 views

SFTP can access files on the whole disk

I have an SFTP server setup, whenever a user tries to connect over SFTP they see the directory /home/user but then they can also change directory to /home and even / How do I stop this so they can ...
0
votes
2answers
52 views

SFTP logging doesn't work

I have some problemas trying to log sftp actions. I've configured some files but it doesn't write in the log file. I'm using Debian 7. User configuration: ...
0
votes
0answers
26 views

Setting up a secure SFTP drop folder for serving web pages

I've set up a chrooted sftp folder following the instructions here: http://www.thegeekstuff.com/2012/03/chroot-sftp-setup/ It works fine, my only problem is it appears there is a glaring ...
0
votes
0answers
72 views

log a SFTP batch process

I have a simple batch process which does SFTP a file to a SFTP server. The batch code for that is here: option batch abort option confirm off open sftp://server -hostkey="ssh-rsa 2048 ...
0
votes
1answer
128 views

sftp server chroot initial directory

I have configured an sftp server with chroot and it works fine, the only thing that is bothering me is the initial landing directory, since the sftp user does not have write permissions in the landing ...
0
votes
1answer
362 views

CYGWIN SFTP not working suddenly. Connection closed after authentication

I'd installed CYGWIN for SFTP purpose few weeks ago in a few Win 2003 R2 x64 server and initially all of them are working without problem. However this week problem rises where users are not able to ...
0
votes
1answer
82 views

Accessing files from dreamcompute vps

I'm very new in this subject, but the problem is: I can't access files from a website to make small html edits. The only thing I know is that I need to make it using SSH. What I've tried: I ...
0
votes
1answer
510 views

SFTP clients not respecting default UMASK permissions [duplicate]

Here's my situation: I'm setting up an Ubuntu 14.04 web server for a team to share. I'd like the team to have read/write access to everything inside var/www/html (same as CHMOD 775 on every file and ...
0
votes
1answer
33 views

Restrict SFTP folder with PHP permisions

I want an user to have access to /var/www/domain.com/public_html so I followed this tutorials, but with my modifications so I can have my users upload directly to their domains: ...
6
votes
1answer
417 views

Forward SFTP user to chroot subdirectory after authentication

I've set up a SFTP server using OpenSSH, everything works fine and the users I created can connect. After authentication, the users find themselves directly inside /chroot, a directory they are not ...
1
vote
1answer
300 views

ProFTPD pub key authentication, still asks for password

I've set up mod_sftp with ProFTPD, and for some reason it still prompts me for a password when I connect. This is my conf.d/myserver file: SFTPEngine on SFTPLog /var/log/sftp.log Port 7770 ...
1
vote
1answer
234 views

ProFTPD - File owner is www-data instead of connected user

For some reason, when I ftp in using ProFTP, files I create are owned by www-data:www-data. I'd like them to be owned by myusername:www-data. The strange thing is, there's nothing in the files in ...
0
votes
1answer
17 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
50 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
71 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 ...
0
votes
1answer
52 views

SFTP for Customers [closed]

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
230 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.
7
votes
1answer
621 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
92 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
2k 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 ...