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

2
votes
1answer
2k views

Linux FTP User Directory Access Restriction?

I'm setting up the SFTP with different users. I simply need to strict some users to be given stricted Folder Access. General users to access the whole Main FTP Directory normally: ...
-1
votes
1answer
253 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
2answers
92 views

Key based authentication (SFTP) failed

I created a pair or RSA keys using Putty key generator, The Public key is attached set on the server side. The private key at windows client machine and being used with pageant and FileZila and ...
2
votes
3answers
3k views

In general, is SFTP unsecure?

I've seen several comments on internet in which people say something like: "I've uninstalled SFTP server, it is much better, it remove security vulnerabilities" What are these vulnerabilities, if ...
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 ...
0
votes
1answer
2k views

Replace FTP with SFTP to transfer files - PSFTP.EXE ONLY

I am currently FTP'ing file to a unix box from a windows server. I want to change the following section of the script and migrate the ftp process to be sftp. @echo off echo user %user%> ...
-1
votes
1answer
596 views

download a large file TAR using SFTP

I am trying to download from a remote server ( in UK I am in the USA) a large file using SFTP (50GB) It starts but (maybe 10% done) it abandons it and says "too large" Is there another way to get ...
0
votes
1answer
86 views

Why does SSHTools SSH/SFTP server use another port to listen to server commands?

SFTP usually listens on port 22. But then I found an SFTP tool (SSHTools) that uses a command port to listen "for server commands such as stop". Why not make the server listen for the stop command on ...
0
votes
2answers
132 views

transfer hundreds of files specified on a list between two servers

I need to download 800 files from a server to my server. These files have different names and they're in different subdirectories in the remote server, but I have their names on a list. How can I do ...
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 ...
0
votes
2answers
1k views

Limiting ssh to sftp only?

I use SSH keys to allow passwordless logons to my box. I want to limit them to SFTP only. I have the following in my authorized_keys file which appears to work: command="internal-sftp" ssh-rsa ... ...
0
votes
0answers
43 views

sftp scp can not work , result in network down

root@6-2:/root> scp 1.pcap yqiu@10.xx.xx.xx:~ yqiu@10.xx.xx.xx's password: 1.pcap 0% 0 0.0KB/s --:-- ETA I use scp to ...
3
votes
1answer
30k views

What is the meaning of “spawn” linux shell commands ? (Centos6)

I need to know how to setup a cron job that automatically connects to the remote server and change the directory and get all the files in that directory to local i think i have to use sftp but i saw ...
1
vote
2answers
468 views

www-data group write after sftp?

I'd like to have my apache user be able to read and write files, my sftp user(s) to be able to upload files that are then available (rwX) to both other sftp users and apache, and everyone else read is ...
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 ...
0
votes
1answer
265 views

SFTP server Issue — Too many open Files on Linux

We have SFTP server on linux box. And every other week we get an error message "Too Many Open Files". We have to restart the SFTP server every time we get this issue. Let me know if there is a way to ...
0
votes
0answers
864 views

lftp remote copy file from one directory to another

I download all files in remote dir1/. They are downloaded to a directory which contains hundreds of files. I need to copy the file to a remote "archive" directory. I need to delete the file from ...
0
votes
4answers
761 views

How to view remotely mapped drive in the Windows command line

I'm using Expandrive 3 to map a remote drive to the Z:\ drive on my computer. I would like to view it using the command line from Windows 7, but trying cd Z:\ doesn't do anything. No error message, ...
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 ...
0
votes
1answer
454 views

SFTP certificates not being recognised

We currently access a third party's axway sftp server manually via a web ui and would like to set up a passwordless login to allow automatic downloads. I have made sure the authorized_keys file is ...
1
vote
1answer
69 views

Sftp virtualhosting based on the SNI server name?

I am thinking on the possibility of the virtualhosting of sftp based on the server name, which was given by the client with SNI. Is it possible? Does any similar already exist there?
3
votes
3answers
8k views

WinSCP putting multiple files on SFTP site

With WinSCP 5.2 I wanted to put multiple files with a file extension .pgp on an SFTP site. When I tested my original command line (see below) and it only placed the first *.pgp alphabetical file ...
1
vote
1answer
261 views

with SFTP - how to cd and lcd with one command?

I'm using SFTP via terminal to connect to a server to upload and download files. I often find myself typing statements like this: cd website/theme/drupal7default/assets/css lcd ...
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 ...
-3
votes
1answer
73 views

Quickest way to upload to a server?

I am looking for a way to upload a large file (1gb) to a server. So far I have used scp, nc and sftp. Initially I start with a nice upload speed of around 2 mbps, but this quickly slows down to around ...
0
votes
1answer
731 views

Get Directory Size through SFTP

A client has a managed websever; on this server is an e-commerce script and part of the script dumps a backup every week. The backup is stored on the web server (not in the HTTP route). The ISP takes ...
-1
votes
1answer
409 views

How to allow ssh access to a folder of another user

Let's say I have a user 'user1'. This user has a special directory which can be accessed by another user ('user2'): /home/user1/directory How can I allow ssh/sftp access for user2 only to this ...
0
votes
1answer
151 views

Slow sftp for one user

Remote user across the country has latency issues transferring files over SFTP using filezilla client to access our shared filesystem (CentOS 6 machines running OpenSSH). One of twenty geographically ...
0
votes
5answers
216 views

How can I run `make` and retrieve the binary from a remote host without `ssh`ing twice?

I'm working on a project for which I don't have the toolchain configured on my own machine and I'm thus developing remotely. My workflow right now looks as follows: open the remote project directory ...
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
0
votes
1answer
56 views

Wrong ownership when SFTP files

I have successfully setup jailed SFTP access using ChrootDirectory. Match Group sftponly ChrootDirectory %h X11Forwarding no AllowTCPForwarding no ForceCommand internal-sftp I ...
0
votes
1answer
717 views

Restrict user to given directory

I wish to allow Bob to only access files in directory /var/www/main/open via sftp. I've edited /etc/ssh/sshd_config, and changed Subsystem sftp /usr/libexec/openssh/sftp-server to Subsystem sftp ...
2
votes
1answer
49 views

Is it safe to work on a server via SSH while uploading files to it via an SFTP file manager?

I'm uploading a large amount of data onto a server via SFTP, and could start setting things up in non-related areas with SSH while waiting, but I'm curious as to whether doing the two simultaneously ...
1
vote
1answer
189 views

sFTP process ids explained?

Could someone explain to me the process that sftp makes when creating a connection and transferring data, on a control/data level? I know the basics about the ssh authentication and such, but for ...
1
vote
1answer
382 views

Using sftp ChrootDirectory while giving other users write access to the same directory

I need to allow an untrusted user SFTP access to a particular directory under his webserver root. I don't want him to access any other parts of the system (including the rest of the web), so I thought ...
0
votes
2answers
184 views

sFTP works on my new file server running Ubuntu Server - should I install an FTP server (e.g. vsftpd)?

I recently installed Ubuntu Server for the first time followed by LAMP. My plan is to have a separate computer to host my websites. So, next step I wanted to allow for FTP uploading. I'd heard of FTP ...
0
votes
2answers
346 views

Work is blocking an SSH connection, what is the easiest workaround?

My work laptop/network is blocking an SSH connection (that I can make with my cellphone so I know it's valid)? What is the easiest away around it? I'm fine with a small fee to reroute or whatever. ...
1
vote
3answers
250 views

Chroot sftp jail seems to be insistent on not working

So I followed this guide to the letter: http://markshust.com/2013/04/01/how-setup-chrootd-sftp-account-linux and a few other guides as well, but I seem to be incapable of getting a connection. I am ...
1
vote
2answers
4k views

How can I get the latest files from a Unix server to another Unix server?

How can I get the only the latest files from a Unix server to another Unix server? I have connected via SFTP to server 2 and trying to apply a for loop to check the time stamp, which is not working: ...
2
votes
0answers
521 views

Mounting shared directory for chroot users

I ran in to an interesting issue with mounting that doesn't make any sense to me. Basically I have setup a chroot environment for SFTP users, they each have a chroot directory with a format of ...
-1
votes
1answer
135 views

automate SFTP process with different ssh version

I am totally new to this. Please bear with me if my question is totally nuts. I am trying to setup rsa keys between two servers. I tried the following steps. ssh-keygen -t rsa copied the id_rsa.pub ...
3
votes
3answers
236 views

Is SFTP without keys still better than FTP?

I have a question regarding SFTP and security. Is using SFTP without keys, still more secure (eg. encrypted) than plain FTP?
0
votes
1answer
100 views

apache/Magento user's Linux home directory (for private RSA key)

apache runs Magento on our Linux server, and I'm trying to find out where the home directory for this user would be. I need to place a private key for SFTP access for Magento's extension. There is ...
0
votes
1answer
991 views

Unable to authenticate vsFTPd virtual user wih SSH/SFTP Ubuntu 12.04

I'm somewhat new to linux so forgive me if the answer is an obvious one. I've been trying for days now without success. I'm setting up a simple SFTP service with vsFTPd. I've had no issues setting up ...
0
votes
1answer
1k views

Secure file transfer: VPN vs SFTP

We have a client who needs to transfer small, secure data files between customer sites and a central server. They wanted us to develop an application for them that would make use of a VPN to send the ...
1
vote
0answers
5k views

Able to access the server with SSH, but not with SFTP

I have access to the server via SSH (using Putty Client), but I am not able to connect via SFTP, using same port (using FileZilla, or other clients). Server requires public key authorization, and ...
1
vote
2answers
580 views

How to mount sftp resource using private key file in kubuntu?

I know how to mount sftp connection in kubuntu (using Dolphin), but this way it's impossible to use private key file. Is there any way to mount a sftp resource using key file in kubuntu?
1
vote
1answer
4k 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
61 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 ...
1
vote
0answers
869 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 ...