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

4
votes
2answers
3k views

Jail user to home directory while still allowing permission to create and delete files/folders

I'm trying to give a client SFTP access to the root directory of their site on my server (Ubuntu 10.10) so they can manager their website themselves. While I have been successful in jailing a user to ...
0
votes
1answer
19 views

openssh with virtual users and chroot

I'm looking for a way to run a opensshd offering sftp to users as a unprivileged user e.g. on port 8022. This opensshd should take something like a customer passwd file which can include information ...
102
votes
4answers
96k views

What's the difference between scp and sftp?

Usually, I use the scp command to transfer files on *nixes. What's the difference between SFTP and SCP? Don't they both work on SSH?
0
votes
1answer
108 views

SFTP key authentication not working from bash script

I am trying to set up a very simple bash script on Ubuntu that SFTPs to a specific server using public key authentication. When I run the command directly on the command line, it works like a charm: ...
0
votes
0answers
11 views

FileZilla uploading folders but not the files within them

I'm having an issue where I'm unable to FTP certain folders to my server without losing the files in them. All of the subfolders transfer correctly, but the files won't transfer to the server unless ...
0
votes
2answers
5k views

sftp limit user to directory

I need to limit sftp for a user to a certain folder. So far I have followed this tutorial to the letter: http://shapeshed.com/chroot_sftp_users_on_ubuntu_intrepid/ It works in the sense that I can ...
2
votes
1answer
4k views

Powershell Script to SFTP New files

I have a script here that SFTP's files from one location to another, the script works fine however I'd like to change the script so that it only copies files that are not already present. Bit of a ...
1
vote
1answer
488 views

Windows Script for connecting to remote SFTP server with public key authentication

I am trying to connect to a SFTP server for a client of ours and send files in an automated process using MS Windows. The details I have received from the client do not include the password. I instead ...
0
votes
0answers
15 views

Web SFTP server software on Linux [closed]

At our company we have a need for our clients to supply files to SFTP server. Security is of paramount importance to us, however we must enable web functionality, so that clients could upload and ...
0
votes
1answer
128 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
1answer
23 views

Transfer files over an established ssh connection

I'm wondering if there's any way, while in an established ssh session, to copy files to and from the source computer, without having to use sftp or scp to create a separate connection, requiring more ...
2
votes
4answers
10k views

In sftp, how to set the default permission for all files in a folder?

I want to set the default permission for all files in a folder, including newly uploaded ones, to a certain value, say 644, instead of doing "chmod 644" all the time. Is there any command making ...
0
votes
1answer
53 views

Batch file doesn't execute WinSCP script completely

I am working on a bat file wherein I have to login to a remove server through SFTP with WinSCP and execute a shell script and get a file to system from the remote server. Below is the code. cd ...
3
votes
3answers
6k views

SFTP ChRoot result in broken pipe

I have a website that I want to add some restricted access to a sub-folder. For this, I've decided to use CHROOT with SFTP (I mostly followed this link : ...
1
vote
2answers
64 views

How to tell which FTP directory I am in?

I received FTP credentials from my client to start developing a website I am working on for them, but I'm not sure what directory they gave me access to. It just shows "/" on the top of Transmit for ...
0
votes
2answers
26 views

Why am I getting “error stdin: is not a tty, /my/local/directory: no such file or directory”?

I can't figure out why it can't find my directory. I am using the SSH terminal in cPanel to transfer a large directory to my remote server from the local machine I'm on. I ran scp -r ...
0
votes
0answers
40 views

sftp - skipping non-regular file error

I get skipping non-regular file /home/local/dir/dir2 while using: put -P /home/local/dir/dir2 /www/dir3 Sftp connects on non-default port, with ssh key and no-password, transfers normally ...
1
vote
1answer
444 views

psftp -F config file

Is there an equivalent -F option in the psftp (the one bundled with Putty)? I am trying to connect to a VM that requires using a ProxyCommand. Host *.<domain_here> User kapitanluffy ...
0
votes
2answers
453 views

How to index and search SFTP/SSH files in Windows?

I use Index Your Files to index and search shared network locations quickly in Windows. I found some files on a shared network location. When I opened this network location in WinSCP I found that it ...
6
votes
5answers
26k views

How can I get an SFTP server running on Windows 2008?

I have a remote Windows 2008 machine and the task at hand is to share out parts of its filesystem via SFTP for a single user. Were commercial software an option things would be easy but I want ...
0
votes
3answers
68 views

SFTP server for Windows with its own users and folders?

anyone knows if there's a SFTP server for Windows, with these features? 1. sftp users db is separate from windows users (preferably a simple text file with user/password pairs or some kind of db with ...
2
votes
1answer
19 views

Centos Sftp Ssh - How always create files with rwx-rwx-r-x and always owned by a certain group

I have a user myuser, which is only allowed to connect to ssh via sftp. I'd like this user to always create files with rwx-rwx-r-x and always owned by the group apache. I've tried to accomplish the ...
1
vote
1answer
40 views

Ubuntu server doesn't handle SFTP/SCP connection

I've installed FTP on Ubuntu 14.04 server and I tried to connect to it via FileZilla. It works if I use FTP. But if I try to connect via SFTP, there are no folders or files shown, and I get the error: ...
19
votes
1answer
16k views

Using SCP or SFTP with my ssh config file?

Perhaps my google-foo is failing me here... I'd like to connect and upload a mysql dump file via terminal using SFTP or SCP to my remote server using my ssh config file. According to documentation ...
31
votes
3answers
24k views

FTPS versus SFTP versus SCP

I would like to know exactly what the difference is between the following protocols: FTPS, SFTP, and SCP. For instance Unix has an scp tool, FileZilla offers FTP and SFTP, whereas JetBrains PhpStorm ...
1
vote
0answers
20 views

Error with AWS ubuntu server connecting to FileZilla

Made an Amazon web service instance today, with ubuntu server, it's working fine with apache, I can connect to the website on the browser without issues. But when I try to connect to FileZilla I get a ...
0
votes
0answers
18 views

public key authentication not working with “ssh/sftp Daemon” on android

I can sftp to my android device using password. However i can not set up this using public key auth. $ ssh -vvv root@192.168.1.10 SSHD Server debug1: Authentications that can continue: ...
0
votes
0answers
70 views

Why does Sublime sftp report encoding error?

In Sublime Text SFTP config, I list /htdocs as my remote path. I need to download everything (i.e. the whole website). My local folder is called Z:\sftp. I want everything from remote /htdocs to go ...
0
votes
1answer
36 views

Understanding everything about SSH keys

consider me as noob, but I've 0 idea about ssh keys, I know ssh is very secure, one thing I know, that you don't need to remember password when you like to access your remote server, now i've 3 remote ...
1
vote
0answers
25 views

Amazon ec2 instance w/ atached volume permission denied with sftp

I made an extra volume and then attached it like this... sudo mkfs -t ext4 device_name sudo mkdir mount_point sudo mount device_name mount_point The mount point was in my home directory as well. ...
3
votes
0answers
328 views

How to set up an alias in a sftp session?

I usually map 'ls -l' to ll on my terminal. So 'll' is the most frequent command I use. I found that habitually I use 'll' on interactive sftp session. Is it possible to create an alias for sftp?
0
votes
2answers
3k views

sftp to ec2 instance using FileZilla/Putty

I can only login to my ec2 instance via Putty/FileZilla if I use the username ubuntu. This is fine for putty as i can then su but in filezilla I am not able to add any files as I am not able to su. ...
0
votes
2answers
44 views

Filezilla won't transfer 10 files simultaneously

I can't recall when I noticed the problem/change but I used to be able to always transfer 10 files at the same time if I wanted but something has changed where it will never do that. Sometimes it is 6 ...
17
votes
6answers
18k views

SFTP as a folder on Vista

Is there a program available for Vista, that allows me to set up a folder as an SFTP connection to a remote server? The use case is to have a folder on my desktop, where I can drag/drop/edit files ...
1
vote
3answers
4k views

sftp chmod recursive

I have logged into a server via sftp via terminal. When I run the command chmod -R 755 ./* I get the error You must supply a numeric argument to the chmod command.. How do I apply a recursive ...
0
votes
0answers
136 views

How to NppFTP with SSH key?

I created a profile with the next options Connection: Hostname: ftp.example.com Connection Type: SFTP Port: 22 Username: wwwexample Password: ****** Ask for password: no Authentication: Try ...
8
votes
3answers
3k views

NetBeans IDE 6.9[.1] - Upload files on save - re-enable for session

Periodically, when I am saving files, I get the error dialog Upload files On Save failed. Disable this functionality for this session?. Sometimes I accidentally select 'Yes'. How can I re-enable that ...
2
votes
1answer
504 views

Make hidden folders invisible sftp

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 ...
1
vote
1answer
5k views

FTP Plugin for Atom Editor

Is there a plugin or functionality to enable FTP and SFTP (optional) on Atom Editor? It'd be useful if I can work directly on the remote server and saving the file it'll be saved directly on the ...
2
votes
1answer
132 views

FileZilla is connecting to localhost instead of SSH server (can connect via PuTTY)

I have a Linux OS running on another machine in my home network, with an IP Address of 192.168.178.85. On this machine, I have installed OpenSSH and it is running on port 22. I can SSH in using ...
0
votes
2answers
137 views

Unable to upload files via SFTP with Cyberduck

I have a problem very similar to the question asked here, but the solution listed there isn't working for me. Situation: I have two Mac laptops, an old Macbook Air running Yosemite with Cyberduck ...
0
votes
0answers
37 views

I'm unable to access any .vdi files over the network

I have two Arch workstations. I want to be able to run VirtualBox on Machine A, and access the .vdi files stored on a storage drive on Machine B. I'm sure I'm not connecting the two machines ...
0
votes
1answer
48 views

SSH acess blocked after user was added to sftp group

I have a specific user and group associated to an SFTP service in my server. recently I added my regular group to the group associated with the SFTP, and now I can no longer connect to the server via ...
1
vote
0answers
120 views

OpenSSH_6.2p2 on HP-UX B.11.31 ia64, sftp and ssh keys

We are running OpenSSH_6.2p2+sftpfilecontrol-v1.3-hpn13v12 on a Unix server (HP-UX, B.11.31, ia64 architecture). A client fails that tries to log on to our server using sftp and ssh keys (trying to ...
1
vote
1answer
80 views

Are there any current multi-threaded sftp Windows clients? [closed]

I found bitkinex.com had one, but is rather old and doesn't support the latest encryption. winSCP has it on it's plan, some time way into the future, but doesn't seem likely to happen.
0
votes
0answers
104 views

PHPStorm SFTP connection using two factor authenticaton (TOTP)

I'm trying to connect with the server in PHPStorm but I'm having trouble because the server uses a two factor authentication (TOTP). I was googling for it, but didn't found anything. Here is my ...
0
votes
0answers
38 views

Most secure and flexible file access on a NAS

I have a NAS at home that I use to store my documents and media files. I recently got a raspberry Pi on which I installed a media center (openElec). Giving access to the media files to the raspberry ...
2
votes
1answer
107 views

Upload directory by sftp

I try to upload localDir to remote server i follow this guide SFTP Guide but when upload the localDir and go inside i see blankDir I did the following sftp> lls 404.html crm nginx-logo.png ...
4
votes
3answers
3k views

Automatically saving files on edit with kate or any text editor

When I try to edit a file in a remote directory (through SSH, SFTP or FTP) I must close the file to get a dialog box tell me if I want to upload the file. I want to upload it automatically on save! ...
0
votes
3answers
43 views

Why does deleting a directory take so long on SFTP?

One of my WordPress installs has been migrated recently and I'm trying to delete the directory of the old one but it's taken over 15 minutes to delete. It looks like it's deleting each individual ...