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

71
votes
10answers
165k 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: ...
0
votes
1answer
322 views

lftp - mirror and wildcards

Is there anyway to use wildcards ("*") when using mirror command? I know there is a mget command, which is simply the same as get, but one can use wildcards with it. Is there something equivelant to ...
0
votes
1answer
24 views

Trying to automatically download backups stored on a virtual server using SFTP

I have a centOS WHM where I store multiple cPanels. I need to SFTP into this server and download the cPanel backups which over daily/weekly/monthly. I'll probably just grab the weekly backups. I had ...
0
votes
0answers
291 views

SCP and SSH connect, but FileZilla and CyberDuck can't

I'm on a Mac. I'm trying to connect to a remote Ubuntu server. I can successfully connect to it using ssh and scp commands in the shell. For example: $ scp -i ~/Projects/keys/foo.pem foo_config.ini ...
0
votes
0answers
67 views

What should I do to access the whole server via SFTP?

I just setup the server with Debian and trying to access /var/www directory by Notepad++ via SFTP. But there are very few folders accessible. It looks like SFTP has the access just to those few ...
0
votes
0answers
31 views

Questions to ssh connection with keys

I think of using sftp as transfer for backups and using keys instead of passwords. I understand it works this way: I've got 2 servers: server1 and backup I want server1 to connect to backup and ...
7
votes
1answer
3k 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 ...
2
votes
2answers
203 views

Why is SSH/SFTP failing for commands with larger returns?

We have a SFTP server which was working fine until we added another ISP. The connection to the SFTP server is not going through the new ISP, I confirmed it with tracert. No change was made on the ...
7
votes
4answers
44k 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 ...
0
votes
0answers
209 views

What is wrong with this FTP server?

Trying to upload files to a web host and the FTP server seems awful. I keep getting the error Error: The data connection could not be established: ETIMEDOUT - Connection attempt timed out And when ...
0
votes
2answers
122 views

Can I use PSFTP to connect?

I can connect to a FTP site using FileZilla. It uses the FTP Protocol, requiring implicit FTP over TLS, username, password, and uses a passive transfer mode, on port 900. I am trying to find a ...
1
vote
3answers
390 views

Powershell and SFTP.exe

Is it possible to pipe the contents of a folder on an SFTP site to a local file similar to window sinnate ftp.exe program where the syntax: dir /MainDir/SubDir c:\test\ftp\CurrentContents.txt but ...
0
votes
2answers
112 views

sftp through other ssh server (proxy like)

When I access a server from my local network, I first have to connect to my main server (all ports go to this machine) and when I'm on my main server, I have to connect to my next machine (which is ...
0
votes
1answer
52 views

SFTP transfer with keys

can somebody explain me how I can transfer files with SFTP over bash and with ssh keys instead of passwords? I use Debian 7 and openssh server. Regards, Akitoyo
1
vote
1answer
219 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 ...
1
vote
1answer
58 views

why does screen cause problems with sftp?

I love to use screen, but I haven't really had much experience using it over ssh. At work I recently was issued a shell account and I decided to try to configure it so that screen gets run when I ...
0
votes
1answer
679 views

WinSCP sometimes throws error - Server refused public-key signature despite accepting key

I have a process scheduled to send files to an SFTP server (Tumbleweed) using WinSCP. It works 99.5% of the time. 0.5% of the time, the login fails and WinSCP reports: Server refused public-key ...
0
votes
0answers
53 views

setting sftp permissions on CentOS

If I upload files via ftp on my website (on a machine running CentOS) the default permissions are 000, and I often forget to do a chmod when uploading file. Is there a way to have a gentler umask ...
0
votes
0answers
66 views

What's a reliable command-line Linux app for SFTP uploading?

I have to upload a large number of files via SFTP. I need a command-line app to do this on Linux CentOS 6. Yes, I've searched on Google and haven't found any that are reliable. I tried to use scp ...
0
votes
1answer
85 views

cannot connect sftp to ubuntu server

Hi can anyone help me figure out why I cannot connect to my server via Filezilla. It was working not long ago and I have not changed any settings. everytime i try to connect to the server i get ...
-1
votes
1answer
102 views

Copying entire dir using SFTP [duplicate]

In sftp> put * or get * doesnt get the hidden files or directories inside the dir. What to do if I want to use sftp to copy entire dir,along with subdirs that are hidden also? For example a .git ...
0
votes
1answer
51 views

Looking for a fast and reliable way to copy files to SFTP

I always used SFTP for copying up CMS systems, modify system/user files, or files related to sites and similar. Small things. Even if the file was larger, I could just wait it out. But now I have ...
5
votes
8answers
5k views

Text editor on Windows for editing remote files

I've got a team of web programmers that need to edit HTML and CSS that is stored on a linux server. They're all using Windows on their desktops. Rather than either teaching them to use vi/vim in a ...
5
votes
4answers
406 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 ...
3
votes
1answer
69 views

Server load affection due to excesive sftp connections to sync server

I am planning to sync around 200 very small files per hour (less than 1KB each file), the source files are on a remote SFTP server and the destination files are on a Windows Server. My fear is the too ...
2
votes
1answer
65 views

Is there any way to change the file permission of the file while doing SFTP?

As I send a file via SFTP to a windows server. When I do this,the default file permission will be 640. there we have a scheduler task which will run on a particular time to grab the files. Due to the ...
0
votes
2answers
216 views

How to get notifications of SSH file transfers?

I'm wondering if there is a method or program that can monitor SSH file transfers and send out an email when a file (incoming) has been transferred? (The other alternative would be to at least get a ...
0
votes
0answers
101 views

Dreamweaver FTP on Mac access to AWS Instance

I've searched for this but haven't had any luck yet. I'm new to Mac so bear with me pls! I have Dreamweaver on PC accessing my instance on AWS for ftp through the bitvise client which implements an ...
0
votes
1answer
124 views

Sync files to an sftp server

Other than Winscp, is there a program that can do a sftp file sync of folders in windows? I'd like to find a simple way to add directories to be backed up to my sftp server. I'd like to run it as a ...
5
votes
5answers
10k 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 ...
0
votes
1answer
67 views

Why was I able to connect with SSH2 to an SFTP server with gFTP?

I'm learning Linux and on Windows when I used Filezilla I would connect using the sftp protocol. I noticed gFTP didn't have the option so I tried SSH2 and set the port to 22 and it worked. Why did ...
0
votes
0answers
40 views

Where to place private key for Magento (PHP)?

I created a Magento extension that uploads file via SFTP to one server using a password authentication. There's another server I need to upload some files to, but using an asymmetric key (RSA) ...
8
votes
2answers
2k 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
169 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
34 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 ...
9
votes
1answer
6k 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 ...
0
votes
1answer
371 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 ...
3
votes
4answers
11k 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 ...
1
vote
0answers
157 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
293 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
642 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
247 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
186 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
135 views

SFTP on Amazon EC2 instance with Debian adding limited access users

I have a amazon EC2 instance with debian 6.0 installed. I am using SFTP via SSH to transfer fileles to my sever. But With root key all the folders from server are exposed. How can I generate different ...
0
votes
1answer
3k views

Can I put comments in a sftp batch file script?

I'm using sftp batch scripts to automate some file transfers. Is there a syntax for putting comments in the batch files? For example: sftp -b mybatchscript.sftp nick@server Where ...
0
votes
1answer
33 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
21 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
395 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
95 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
780 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 ...