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

109
votes
9answers
283k views

How do I get an entire directory in sftp?

I'm just learning to use sftp, and I want to copy a directory from the remote computer to my local computer. If I try get [directory] it gives me this error: Cannot download non-regular file: ...
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?
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 ...
30
votes
1answer
33k views

Notepad++ and sFTP Support

Anyone knows of a sFTP plugin for Notepad++ ? I just checked FTP_syncrhonize and it doesnt support sFTP. (please no "use filezilla/winscp/putty" answers).
23
votes
2answers
66k views

Connect to server using SFTP and public ssh key using FileZilla on Windows

Is it possible to generate an ssh key on a windows machine then use that key to connect to a server using SFTP via FileZilla? This is all working with my Mac but I have a client that is stuck in a ...
19
votes
5answers
97k views

sftp: upload all files, directories and sub-directories contained in a folder

On machine A I have the folder /home/a/ On machine B I have the folder /home/b/ I wish transfer all files, directories and sub-directories of /home/a in /home/b with sftp On machine A I tried ...
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 ...
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 ...
13
votes
2answers
7k views

FileZilla on Mac OS X can't open .ssh directory to get my keyfile

I'm trying to log on to my Amazon EC2 cloud server instance with FileZilla, To do this I need to specify a keyfile for SFTP over SSH, However, FileZilla in OS X can't open files in hidden ...
12
votes
2answers
6k views

sshfs is failing with “remote host has disconnected”

I'm running sshfs with the following: sshfs basicuser@192.168.1.111:/var/www/myapp /home/basicuser/code -o sftp_server="/usr/bin/sudo /usr/libexec/openssh/sftp-server" I have also created RSA keys ...
11
votes
3answers
29k views

How do I use my keyfile to sftp transfer data from one server to another

I cant scp, the other server only takes sftp connections. Currently, I am trying to do sftp jay@server.name.com:/files> put -r ~/ -i keyname does not work, just resolves with illegal option -- ...
10
votes
3answers
12k views

Is it possible to rate-limit an scp/sftp/rsync/etc transfer from the command-line? ie, manual QoS on a single command?

Specifically, I am looking to rate-limit an scp or sftp session (or other arbitrary network call) in the call itself. For example, let's say I want to copy 100MB to one server, and 1GB to another. ...
10
votes
1answer
5k views

How to add pointers to filesystems outside the chrooted environment - using chrooted SFTP via OpenSSH

So, I'm pretty sure this is true, but I haven't found a specifically detailed independent reference that directly answers my question. Question being: How can I add access to a resource that is ...
8
votes
3answers
6k views

SFTP over double server hop

I'm trying to work out a method to allow me to access files on an SFTP server than I cannot access from my local machine. Currently, I have to SSH to a remote server (it is in a certain IP block that ...
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 ...
8
votes
1answer
29k views

How can I setup the openSSH SFTP server on Linux?

I want to configure sftp-server to share a directory but I don't know how to modify /etc/ssh/sshd_config. My requirements are: 1) Login shall not use certificates, only password (i.e. authorization ...
7
votes
5answers
6k views

Must I sftp to an intermediate server?

I can't sftp directly into a particular host. To move a file from my home machine to the host, I must sftp a file to an intermediate host; ssh into the intermediate host; and sftp the file to the ...
7
votes
3answers
12k views

How can I see if users are logged in over sftp?

I run a linux file server for my office and we user SFTP for remote partners to login and download files. Is there a way to see if there are any active connections or logins so I can know when it is ...
7
votes
3answers
13k views

Accessing SFTP folders transparently in Explorer on Windows 7

One feature available on Linux (using Nautilus from Gnome) that I really like a lot is the ability to access remote servers via SFTP just by typing sftp://server/folder and saving those as bookmarks. ...
7
votes
4answers
5k views

Secure remote editing of root-accessible files over SSH

As per security best practices one should not allow root login over SSH with password or keys. Instead, sudo should be used. However, if one wants to use SSH (SFTP) for remote editing of server ...
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 ...
6
votes
4answers
3k views

Possible cause(s) of slow transfer on home network?

I have the following home network setup: ZyXEL P-2602HW-D1A Router Ubuntu 10.04 Server: Ethernet card 100Mbps, directly connected to router Configured with SFTP server Windows XP Professional SP3: ...
6
votes
5answers
14k views

Accessing Amazon EC2 in Filezilla SFTP

I need help/guide how I can open my ssh access from a GUI or Filezilla. Here's the scenario my developer just left me with the login info to my Amazon EC2. Now I am finding difficulties in ...
6
votes
1answer
11k views

How to download a directory and its contents using PSFTP?

I'm using PSFTP and am looking to download two directories and all of their subdirectories and place them else where on my server. I would think it would be as simple as get dirname c:\localdirname ...
6
votes
0answers
10k views

Can't connect to SFTP: Received unexpected end-of-file from SFTP server

When i try to use SFTP via filezilla to connect to my CentOS 6.6 server i get the following error: Status: Connected to (redacted) Error: Received unexpected end-of-file from SFTP server Error: ...
5
votes
5answers
1k views

Best way to transfer files across unstable LAN?

This is very similar to Question 326211, but in this case, the LAN is an unstable Wi-Fi connection. I need to transfer about 11 GiB of files between two computers, both running Linux (although one ...
5
votes
6answers
21k views

Mapping an sFTP connection to a Windows drive?

I'm looking for a way to map an sFTP connection to a Windows (Vista) drive. In other words, a tool that would add a new drive (let's say N:) to my computer, that would directly point to my remote ...
5
votes
5answers
2k views

Which is better? SFTP or FTPS

I've heard it from some sources that SFTP is preferable to FTPS. If this is the case, I'm wondering why exactly.
5
votes
4answers
969 views

Color empty files in Windows

I face a need to show empty (0 bytes size) files in color in Windows Explorer. (I get them over sftp and need to know whether they're empty to prevent data loss - an application creates empty files ...
5
votes
1answer
9k views

chrooted sftp user with write permissions to /var/www

I am getting confused about this setup that I am trying to deploy. I hope someone of you folks can lend me a hand: much much appreciated. Background info Server is Debian 6.0, ext3, with ...
5
votes
1answer
7k views

sftp client with cygwin, is it possible?

Is there any sftp clieant for cygwin? From what I read on the web, all I can find is instruction on how to install the server/ how to use putty/ how to use filezilla. Is there a terminal client for ...
5
votes
1answer
3k views

Is there any built-in SFTP with GUI on OSX?

On my Ubuntu system, I can easily connect to a remote server via SFTP and simply drag/drop files across systems. This is built into the standard file manager. I just recently got a MBP with OSX and ...
4
votes
5answers
1k views

Why every OS still can't resume file transferring? [closed]

I mean, Windows 7, Ubuntu 9.10 and Snow Leopard... All newest and top of line desktop operating system still use regular copy to transfer files, as it seems to me from experience. Instead of using ...
4
votes
3answers
73 views

What is the standard ftp service of ubuntu server 12.04?

Stopped vsftpd, so it is not that. If i can still access via ftp (sftp in particular) how do i now what service is managing it?
4
votes
2answers
9k views

why is sftp rmdir not working?

I'm trying to remove a directory with lots of files and folders from my private server space. I'm logging on via SFTP fine; I can access the entire directory no problems; I can even delete individual ...
4
votes
4answers
8k views

file permissions and group ownership using sftp

Is there a way to have all files created by a particular user under sftp to have a specific group and file permissions? The user in question, of course, will be a member of the group, but it is not ...
4
votes
1answer
5k views

FTP move files/folder on remote server in FileZilla

I have a folder on my server that I want to move to a different location on that same server. I see that I can move a file/folder into a sibling folder, or up one folder, by dragging it over the ...
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! ...
4
votes
1answer
966 views

sftp disabled, but have ssh access. How to mount?

some lab computers at my university have sftp disabled. However, I have normal ssh access. Obviously I don't have root permissions on these computers. I need to transfer a fair amount of VHDL ...
4
votes
2answers
4k views

SFTP, SCP, Secure Webdav: which is the most suitable?

currently, I am hosting a webdav share setup in order to store files I need anywhere I am. It is available via HTTPS. Things are that I do not need all the HTTP machinery -i.e. my nginx http server ...
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 ...
3
votes
1answer
280 views

sFTP using commercial certificate

Currently we have a sFTP but the certificate is only self sign. We are required now to use a valid commercial certificate. Please help me to enlightened what type of certificate need to purchase and ...
3
votes
1answer
29k views

How to not allow user outside of home directory with SFTP

I'm running Ubuntu 10.04. I have users' home directories set, but I want to restrict them to their home directory and its children when they are connecting via SFTP. In other words: not allowing ...
3
votes
2answers
7k views

Best alternative to Filezilla Client [closed]

I'm using Window XP. So I m not able to use Filezilla. Can anyone suggest the best FTP Software replacement for Filezilla? Free software preferred. Thanks
3
votes
3answers
1k views

Need a non-GUI SFTP tool better than “sftp”

'sftp' is seriously lacking relative to, say, ncftp: it has no command memory, no Tab-completion of file names, and so on. Is there a non-GUI tool for SFTP that people recommend?
3
votes
3answers
217 views

If I have an “ssh” account does that mean I can transfer files via “sftp”?

If I have an "ssh" account does that mean I can transfer files via "sftp"?
3
votes
2answers
744 views

Should I allow unknown host key when using SFTP?

I've switched from FTP with TLS to SFTP and now a dialog appears when I try to connect saying Unknown Host Key for www.example.com. Then it presents two options Deny and Allow. What does this mean? ...
3
votes
2answers
13k views

Run a program in a batch script and wait for it to finish before continuing

I have a very specific requirement. I am attempting to upload files via sftp which uses private keys. I already have a bat file that connects to the host and uploads the file however I need to move ...
3
votes
3answers
4k views

Command line history & tab-completion for sftp in OS X Terminal.app

I use Terminal.app constantly. When connecting via ssh to remote *nix systems, I can continue to use tab to complete command names and arrow-up/down to navigate the command history. However, with sftp ...
3
votes
3answers
7k views

Mirror/Backup from SSH/SFTP to Windows

What I am trying to do is mirror a directory (recursively) from a server I can SSH/SFTP to, to a Windows machine. I want to do this as part of a script, so it can be automated. I only want to copy ...