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

15
votes
2answers
8k 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 ...
0
votes
1answer
232 views

crontab a bash script that is copying certain files

First I would like to say that I am terrible with scripting so this has been a true challenge for me. Any input would be great! I would like to automate an sftp transfer every 24h. If I am lucky in ...
1
vote
0answers
46 views

Uploading files remotely just deletes the contents

I'm new to Linux, and for school I'm using a remote SSH shell via SSH Secure Shell Client 3.2.9 and SSH Secure File Transfer Client from Windows 7 to try to upload files. We were going over the ...
0
votes
1answer
650 views

Proper procedure - sftp access to www folder - To be able to upload files

My www folder is root:root. What should it be? My site works perfectly but maybe I am doing something wrong. My nginx.conf says user is 'nginx'. Should I be changing the www onwership and group to ...
1
vote
0answers
260 views

SFTP Connection to Windows 2008 Server Running RemotelyAnywhere

I'm writing a program that automates a test that needs to be preformed on a regular basis. To do this test it requires a number of files to first be uploaded to a Windows 2008 Server. The server does ...
0
votes
1answer
383 views

Ubuntu 12.10 folder permissions (lost access to any folders after setting up sftp)

I have had an ubuntu 12.10 server running for a while with dlna and samba running successfully. On a previous build, I had an sftp server running and I wanted to do it again. First, I updated all ...
1
vote
1answer
744 views

Exclude specific group/users from ForceCommand in OpenSSH ssd_config

I want to make ForceCommand internal-sftp and ChrootDirectory /jail the default for all users accessing a server via SSH. Only users in a certain group are allowed to escape this. How can I exclude a ...
1
vote
2answers
302 views

SFTP Passwordless connection

there is sftp user for which password less connectivity is established long back however we are trying to connect from other sources\server and I forgot the passwd of the user so if I reset the ...
0
votes
1answer
360 views

How to create an SFTP folder shortcut in Windows Explorer?

I'm currently running a Windows Server 2012 VM in Windows Azure and I need to create a shortcut in Windows Explorer for a remote Ubuntu SFTP server. Usually I can just connect to "mywebsite.com" in an ...
0
votes
1answer
35 views

SFTP with a username AND login name?

I just set up a Mac to accept SSH connections. It need both a login and user name like this: ssh admin@192.168.1.100 -l "My login name" This works fine, but I can't figure out how to do this using ...
0
votes
1answer
23 views

How Do I provide client support in sshd

I have Target board where sshd is a daemon which will set the sftp-server and listen to client trying to connect to board using sftp protocol.But there when I try to connect to other machine from ...
1
vote
0answers
560 views

Logging rssh/chroot SFTP users

I'm trying to log activity (uploads, downloads, renames, deletes) for SFTP users. If I SFTP with a normal user, it logs to /var/log/secure. If I SFTP with a rssh user, it logs that they connected, but ...
0
votes
0answers
108 views

Setting up sftp connection

So here is the situation. I have a webserver hosting a clients website and he would like to have sftp access to it. Server OS: ubuntu 10.04 I would like to confine his useraccount to his ...
0
votes
1answer
1k views

Cannot see files present on server when connecting via SFTP?

I am not able to see the files present on the server using Filezilla ftp client. I am using SFTP connection. I am able to connect to the server. I can see only the directories but not the files. I ...
0
votes
1answer
317 views

Directive 'ChrootDirectory' is not allowed with new OpenSSH

I am trying to set up chrooted SFTP access but OpenSSH is giving this error: /etc/ssh/sshd_config: line 94: Bad configuration option: ChrootDirectory /etc/ssh/sshd_config line 94: Directive ...
3
votes
3answers
3k views

Coda 2 and SCP uploading files with the wrong permission

Currently I have a basic Ubuntu server running a website. The website is for a few students learning HTML/PHP and each student has their own account with a symbolic link to the shared website folder. ...
0
votes
2answers
446 views

SFTP - Recursively fetch new files

I have a remove file system structure like this: + /measure + / 2013-09 + / 2013-09-04 + / fooinstrument + result03343445845.csv + ...
1
vote
0answers
786 views

SFTP failing - connection closed by remote host

I've as of yet been unable to correct this problem. I've tried adjusting MaxStartups to >10, clearing out the files listed in known_hosts, and compared configs between a server that is working ...
3
votes
5answers
1k views

GUI FTP program capable of using public/private keys?

I need a SFTP client that's a GUI and is capable of using public/private keys. Filezilla claims to, but first gave me this: The file '/home/xxxx/xxxx' is not in a format supported by FileZilla. The ...
6
votes
4answers
3k 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 ...
1
vote
2answers
2k views

How can I make sftp accounts that can only access their home directory?

I'm using Ubuntu Server 9.10. I need to setup 6 accounts for users that will exclusively need sftp. When the user logs in, I need them to only have access to their home directory. I don't want them ...
1
vote
3answers
713 views

Can I use the same machine as a client and server for SSH?

For development tests, I need to setup an SFTP server. So I want to know if it's possible to use the same machine as the client and the server. I tried and I keep getting this error: Permission ...
1
vote
0answers
236 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
0answers
67 views

Cannot Connect via SFTP When I Travel or am on Another ISP's Connection

I use SFTP to upload our website to our server with InMotion Hosting. It works fine when I am home and use our ISP (BellSouth.Net - Now AT&T. It also works fine on 1 of our Philippine ISP ...
1
vote
3answers
159 views

Is there a site to download Linux ISOs over SFTP?

My work allows the downloading of ISO images for work related projects. However the proxy we use has issues when downloading from FTP sites. I should also mention that downloading large files over ...
2
votes
2answers
658 views

Downloading very large files via SFTP

I need to download some very large files (circa 75 GB) from a remote server via SFTP. I've been using SFTP via the command line on my Linux netbook. Around halfway through, the transfer stops and says ...
0
votes
1answer
458 views

AWS EC2 instance can't connect to ssh or SFTP “all of a sudden”

I have an instance set up on AWS. It's an Ubuntu 12.04 server, and I can no longer log into ssh or sftp using my key. I was logged into both ssh and sftp at the same time on a mac using terminal for ...
2
votes
1answer
531 views

How to create a ssh key so that it can only use sshfs on a Synology NAS?

I have an ssh key without a paraphrase that allows a user to log in to a remote server. This key is used to mount a folder in the remote server using sshfs and backup the files in my laptop. I would ...
1
vote
3answers
5k views

How do I connect to a ftp/sftp site?

I need to provide an url to a third party company so that they can log in and download the file. The problem is that I don't know the url for my ftp/sftp site due to my very limited knowledge in ftp. ...
0
votes
2answers
691 views

Changing AuthorizedKeysFile to anything other than default does not work

I am trying to perform paswordless key based authentication. In ssh_config on the server to which I am trying to upload the files, when AuthorizedKeysFile .ssh/authorized_keys I am able to sftp ...
0
votes
2answers
351 views

How to copy all directory from another host to current host on Linux

My current files and directories are hosted with Godaddy.com and they don't allow scp over to another host, and I want to get all the pictures for wordpress under wp-content/uploads/* but when I tried ...
-1
votes
1answer
58 views

Control who connect to my server and access the file

I have installed NAS sever which is accessible from Internet by SFTP with certificate authentication. but I have a challenge: I want to control who is using my server but If I send a ...
1
vote
2answers
536 views

Script for transferring files over the internet via a Cron task

I want to add a bit to a backup script that will transfer a file to another server, over the internet. My cron currently does a pg_dump of a database into a file on the local machine, I want to then ...
0
votes
1answer
384 views

Can't ssh into my Mac at home, from office

I'm trying to ssh/sftp to my Mac at home, from office. I can ping it fine. I'm pretty sure I set up keys correctly with ssh-keygen Here's what I'm getting (private info masked with •••): ...
0
votes
3answers
7k views

Why can't I connect to my home SSH (SFTP) server? What am I doing wrong?

I am new to this topic of creating a SFTP server on one's computer. I would like to be able to access the folder on my Windows XP computer via SFTP from another computer or a phone. The following is ...
2
votes
3answers
7k 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 ...
1
vote
1answer
171 views

SFTP access without hassle

I'm trying to provide access to a local folder for someone over the internet. After googling around a bit, I've come to the conclusion that SFTP is the safest thing to expose through the firewall to ...
5
votes
5answers
833 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 ...
7
votes
3answers
9k 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. ...
0
votes
0answers
546 views

chroot SFTP user can't modify any files in mounted drive

Well, here are the steps I’ve done; the problem is listed at the bottom. sudo mkdir /home/test sudo useradd test sudo chown root:test /home/test sudo chmod 755 /home/test sudo groupadd testgroup sudo ...
0
votes
1answer
150 views

Issues while setting up passwordless sftp

I was trying to set up a passwordless sftp from one Red Hat Linux server to another. As "oracle" user, I created the key-pair on server1, copied the publickey over to server2, and then added them to ...
1
vote
2answers
2k views

slow sftp, starts fast, stalls after 10 sec

On a 32 bit Ubuntu machine (12.04), I have a speed problem transfering files (~100MB) with sftp (command-line), from my machine to a server, on a ethernet 100Mb/s network. The transfer starts at ...
2
votes
1answer
805 views

What types or standards exist for (S)FTP proxy authentication and usage?

I develop and support a program which uses (S)FTP to download files to corporate servers. Corporate clients often require my program to go through a proxy rather than connecting directly. ...
2
votes
1answer
368 views

TortoiseGIT and sftp

I have a server which I can't modify/install anything on that. the only way that server gives me is to use sftp protocol to connect to the server and modify the files. I have access to the server ...
0
votes
2answers
4k views

Edit-text-files-over-SSH using a local text editor

I am working in various Linux and UNIX environments. I'd like to elegantly solve the problem of editing remote configuration files over SSH. Instead of using terminal editors (nano), I'd like to open ...
2
votes
2answers
153 views

sftp://domainnaame.tld shows whole filesystem

I have a home web server using SSH on a custom port. I've found that if I go to sftp://domainname.tld:port my whole filesystem is visible, and anybody can download any file. I'd like to chroot this to ...
2
votes
2answers
777 views

Can /usr/bin/sftp resume file transfers?

I have a machine with only sftp access. No ssh, no shell, no rsync. When I get a file using /usr/bin/sftp, can I make it resume an aborted transfer?
2
votes
1answer
778 views

How Does SparkleShare Work With Git?

I haven't been able to find an answer to this anywhere on the internet so I wanted to bring my question here, to see if anyone has an answer! I'm new to the Git scene and I'm curious how SparkleShare ...
1
vote
1answer
1k views

cURL SFTP upload speed only 50% compared to command line SFTP

I need to use cURL to upload some files to an SFTP server, it has to be using cURL because I'll be later using cURL_multi etc to transfer files simultaneously (unless anyone knows a command line ...
2
votes
2answers
3k 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 ...