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

6
votes
0answers
11k 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: ...
3
votes
0answers
241 views

Can I remove .listing files from web subdirectories?

I was working on my webserver, and noticed I wasn't able to remove a directory as it wasn't empty. I ran ls in it, and found a single .listing file. Opening it, I found a list of the files that were ...
3
votes
0answers
347 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?
3
votes
0answers
456 views

Some FTP folders not visible to client

I ran into a very interesting issue today. In my directory I have: hearts laptops pets scaledBU spotlights Each of those are directories. I created these directories using FileZilla but they are ...
2
votes
0answers
296 views

“No supported authentication methods available” when connecting to gcloud with FileZilla

I've followed this guide: https://cloud.google.com/compute/docs/tutorials/lamp/transfer-files I have my private key generated and added to FileZilla but I can't seem to connect. The guide specifies ...
2
votes
0answers
539 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 "/sftp/...
2
votes
0answers
251 views

swish sftp: Hide hidden files

I want to mount a directory with SSH. Is it possible to hide dot-files in swish sftp? Is it possible to dislay folders on top of the list?
1
vote
0answers
21 views

Logging into new FTP server, but no directories show up

I've tried this with both ProFTPD and SFTP. I'm trying to chroot a user to /var/www/user however when I log in to the FTP server with their account, I get "/var/www/user: No such file or directory". ...
1
vote
0answers
25 views

Apache Virtual Host HTTPS Site Not Reachable

Firstly, my HTTPS site setup using Virtual Host Redirect is working fine. But, after i try to add restrictive SFTP user by target user home directory into web directory of my HTTPS site with the ...
1
vote
0answers
22 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 ...
1
vote
0answers
31 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. ...
1
vote
0answers
158 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
0answers
176 views

How can I improve SFTP transfer times between a Windows 7 PC and an Android phone?

I have set up a home SFTP server using CoreFTP. When I transfer files from my Android phone to a PC, I get really slow speeds (1-1.5 MBps) as compared to SHAREit or Xender (Up-to 10 MBps). Why is it ...
1
vote
0answers
236 views

Can't upload files via SFTP (freeSSHd) on Windows Server 2008 because of file permissions

I installed freeSSHd today in order to upload files to our webserver which is on a Windows Server 2008. Inside freeSSHd I created a user and gave him the ability to connect and that works fine. I can ...
1
vote
0answers
237 views

SFTP fails where SSH works

I'm running a win7 x64 PC and I've got a problem when i tried to connect a internal server on sftp with: ip : 172.22.1.39:22 username: root password: ******* the error is the following (...
1
vote
0answers
21 views

1 chroot sftp user that is able to traverse all other chroot sftp users files/folders

I have a chroot environment that I have setup on CentOS 6. We have users for all of our trading partners and I would like to create an internal user for another department that can sftp in and only ...
1
vote
0answers
259 views

Set up sftp mysql authentication with chroot

How do I set up an openssh SFTP server that authenticates against a MySQL table where the users are jailed? Each user will need to have its own jail: /home/sftp/john /home/sftp/jane etc.. However ...
1
vote
0answers
219 views

SFTP cannot rename files but FTP is OK

I have enabled both SFTP and FTP on my Synology NAS. Using CyberDuck, both SFTP or FTP can create or delete a text file in a shared folder. However, there is an error when I try to rename the ABC....
1
vote
0answers
25 views

Is there a way to use ACL to deny access to folders by user, preferrably by making them invisible?

Is there a way to use Linux's Access Control Lists feature to deny access to folders by user, preferrably by making them invisible? This is needed for a chroot SFTP environment where we want to block ...
1
vote
0answers
358 views

sshd_config settings not taking effect

I've been trying to configure SSH public key authentication for non-interactive login for sftp and for that to work, I know I need to have the following settings: RSAAuthentication yes ...
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
0answers
890 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 ...
1
vote
0answers
5k 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 ...
1
vote
0answers
52 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 ...
1
vote
0answers
503 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 ...
1
vote
0answers
858 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 ...
1
vote
0answers
728 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 ...
1
vote
0answers
593 views

How to script SFTP two-factor authentication?

I need to script file transfers between two servers. Local server is RHEL 5.x. Remote location uses two-factor authentication (key+password). Authenticates fine on the key-pair but I can't find syntax ...
1
vote
0answers
161 views

Launch script after SFTP disconnect

I'm currently using Caja (basically the same as Nautilus) to connect using SSH to my server and work with files. What I'm looking for is a way to launch a simple script when I disconnect - I can ...
0
votes
0answers
27 views

How do I run cygwin commands when sshd is started up?

I am using net use commands in a .profile for an sftp client to access file shares from cygwin. If I ssh to the Windows server and run . .profile, then everything works until the next time the ...
0
votes
0answers
41 views

Connect to server via lftp and delete files older than one day

I am using lftp to connect to a remote server as: lftp -u user,pass -e "echo 'hello' ;quit" host What I want to do is to find and delete all the files in the root directory which are older than 1 ...
0
votes
0answers
28 views

SFTP on Centos 7

I just started using Linux/Centos like a week ago so please excuse my knowledge. I configure the Centos 7 or a VM everything goes well. I setup HTTP and mySQL all goes well, but now when I setup SFTP ...
0
votes
0answers
18 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
0answers
59 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 ...
0
votes
0answers
20 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: publickey,...
0
votes
0answers
133 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
0answers
219 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 ...
0
votes
0answers
47 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
0answers
43 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 ...
0
votes
0answers
119 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
63 views

How to debug 'File in use by another process' error in Sublime Text

All of a sudden, today, I have started having problems uploading files with Sublime Text and the SFTP plugin. There have been no sytem changes, new programs installed or suchlike. I was using it ...
0
votes
0answers
150 views

Remote editing with Eclipse IDE through an SSH tunnel

I work on a server that is behind a firewall and only accessible from the outside through an intermediary. When I work from home, I need to log into serverA and from there ssh to server B, the server ...
0
votes
0answers
12 views

Filezilla SFTP works via MiFi device (cellular) but not via new ONT router (fiber)

Neighbor needs to upload files using SFTP for school. We recently got fiber to the home (yay) but now SFTP no longer works. It still works using the MiFi device they were using before we got Fiber....
0
votes
0answers
107 views

SFTP to multiple users access to same directory and take delete permission

I am trying to give permissions to multiple users to access var/www/my.com/folder2, which is owned by www-data. So simply I have a lot of sftp users and everyone only accessing to var/www/my.com/...
0
votes
0answers
12 views

standard user sftp.ocx problems

I have a program which calls sftp.ocx I think in windows7, 8, 10, when a standard user goes to run the program, the program crashes when it goes to run sftp.ocx, and the standard user doesn't have ...
0
votes
0answers
205 views

Can't connect to server with Filezilla using SSH keys on Windows 10

In windows 7 I have no problem to connect to my server using filezilla client with SSH keys. Then, on windows 10, using same process, same servers and same key files I can not log in. One thing I ...
0
votes
0answers
25 views

filezilla not connecting even with required ports opened

Server: Ubuntu 15.04 - 2.6.32-042stab094.8 Client: Windows 10 I did some iptables changes, saved all rules, naturally, reapplied them afterwards, summary of changes are: open ports tcp: 20, 21 ,...
0
votes
0answers
57 views

Cannot see files present on server when connecting via Filezilla / 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. ...
0
votes
0answers
85 views

SFTP Unix Script with pub/priv keys

I have written a script that uses sftp to get files. The issue I am having is that it is still prompting me for a password. Before you say my ssh pub/priv key is set up wrong, when I sftp from console ...
0
votes
0answers
63 views

SFTP clients on Yosemite cannot write to server with password authentication

It seems that OS X changed something regarding SFTP-clients that try to authenticate with a password. Cyberduck on Mavericks is able to upload a file to a SFTP server using password authentication. ...