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

1
vote
1answer
549 views

I can SSH but can't SFTP

I am dumfounded at this issue. Brand new Ubuntu 12.04 Server install, I can SSH in, but can't use SFTP (Using Filezilla). It seems to authenticate fine .. But then it errors: The error is: Error: ...
0
votes
1answer
475 views

Unable to SFTP (but can SSH) - Using port other than 22

I followed the iptables here: http://wiki.debian.org/iptables I replaced the standard Port 22 in sshd_config with Port 1234 Currently I'm able to SSH via Port 1234, but unable to SFTP using ...
3
votes
1answer
351 views

SFTP user can't edit or create files

Server: Ubuntu 12.04 LTS I am using openSSH and have created an SFTP user called bob who belongs to group sftponly. I have chrooted bob to his home directory which is /usr/share/nginx/www/bob/. bob ...
0
votes
0answers
95 views

FTP listfiles not working

I get the error 421 error connection timed out. I am already in passive mode, but still it's not able to execute certain FTP commands like LIST , NLST. What could be the cause? I tried using both ...
0
votes
1answer
77 views

SFTP source port used by client

What port is used by a client when connecting to SFTP server listening on port 22? In which range can be that port? Does that range depend on client application used, or it depends on operating ...
1
vote
3answers
989 views

SSH/SFTP Reverse Proxy

I have two machines accessible on the Internet with no NAT involved. Both machines run an SSH service. I want to connect via SSH/SFTP to Server A on Port 2000 and this connection should be routed to ...
0
votes
1answer
399 views

Allowing root login on sftp while disallowing it over ssh?

For security I only allow a dummy user to log in via SSH on my CentOS 5.8 server, for this I added: AllowUsers dummyaccount When accessing my server I then login with the dummy and use su - to gain ...
0
votes
1answer
437 views

IIS 7 FTP Publishing: Windows User Gets 530 18 Error

Here's the problem, from the log (ip & dns names sanitized): FTP Service Log 2013-03-26 01:25:07 ORIGIN.IP - DESTINATION.IP 21 ControlChannelOpened - - 0 0 4ba4c190-09ca-45e3-a2ae-b19117d33b80 - ...
1
vote
1answer
511 views

Removing chroot jail on Synology Diskstation 4.1

I'm administrating a Synology Diskstation 412 with DSM 4.1 and I need to be able to upload files to the filesystem via SFTP. However, when I enable the built-in SFTP server in the DSM, it always jails ...
0
votes
2answers
89 views

My sftp jailed user can't see directories below the ChrootDirectory

I am trying to jail user. I have got these directories: var/www (root:www-data, 755) var/www/web1 (webmaster:www-data, 755) var/www/web2 (webmaster:www-data, 755) In my ...
0
votes
1answer
236 views

(SFTP)how to have /var/www writable permission when set ChrootDirectory /var/www

ChrootDirectory is tricky > < As I google for it and found the ChrootDirectory setting explanation (http://en.wikibooks.org/wiki/OpenSSH/Cookbook/SFTP) It say " Depending on the opensshd version ...
0
votes
1answer
58 views

Ubuntu sftp disobeys ssh config files or bypasses ssh config settings

I set up openssh on my server to listen to xx port and to use authorized_keys. From a Windows client, I am able to login to my server using my passphrase using putty. All Ok. This is what I wanted. ...
4
votes
3answers
1k views

Use .bashrc without breaking sftp

My problem is that I need to set a few variables, and output a few lines every time I login to the ssh shell, and at the same time I have to be able to use sftp to tarnsfer files via Filezilla. Now, ...
2
votes
2answers
447 views

SSH/SFTP connections fails silently on OSX 10.8.2 - ssh-agent issue

I'm trying to login to a remote machine with SSH or SFTP. when I try ssh u-indgo@ssh1.eu1.frbit.com the CLI just won't respond. I get an empty new line, in which I can type characters, but nothing ...
2
votes
2answers
2k views

sftp file size limit

There seem to be a file size limit for sftp transfer from the command line, if I try to download a 20 MB file it stops at 20% when the transfered data is larger than 4 MB: /myfile.xml ...
0
votes
1answer
203 views

How i can restrict certain file extension upload via ssh?

How can I restrict certain file extensions and file upload size via SSH? I am using Ubuntu 12.10 default installation and Open-ssh server.
1
vote
0answers
117 views

Setting up ssh on Debian to allow some users log in with ldap

I have a server in which users can't login via ssh but can upload files by sftp. This server has an ldap database of users and ssh and sftp are configured with the ldap, so none of the ldap users ...
0
votes
1answer
48 views

Resctrict folders for sftp when using ssh version < 4.0

We have a very old server (it's kind of embarrassing to write the OS version), but this is the situation, and upgrade OS or ssh is not an option for some reasons. uname -a > FreeBSD xxx 4.11-STABLE ...
3
votes
1answer
318 views

Is it possible to force SFTP rather than allow SCP fallback ?

I have a Red Hat 5.4 server with openssh OpenSSH_4.3p2 and have been trying to setup scp/sftp logs in my server, but I am running into some problems. I followed the directions in this other post. ...
0
votes
3answers
1k views

ESXi 4.1.0 build-260247 best way to get VM off

I'm having a hard time copying a VM from my ESXi 4 ... I never tried to copy a VM because I always did the backup inside the VM but now I want to retire this server and need to get a final full ...
3
votes
1answer
1k views

Trying to set up SFTP only in a chroot jail for one user

Hopefully you guys can help and see if I've done something weird here, I'm trying to log in with a user I set up, FileZilla shows me: Command: open "///@///" Command: Pass: ******** Status: ...
0
votes
1answer
581 views

Connecting to passive FTP over SSL (ftps)

I have setup an FTP service in Windows Azure using this guide http://www.itq.nl/blogs/post/Walkthrough-Hosting-FTP-on-IIS-75-in-Windows-Azure-VM.aspx The FTP Server works well when I connect without ...
-2
votes
1answer
343 views

Linux: How to send all files in the directory to remote directory via sftp

Just like the title sugests I have a local dir, say: /home/whoever/files_to_send And I want to send all files in that dir to a remote location: my_user@my.server.com:/some/remote/directory How ...
0
votes
1answer
36 views

FTP Backup Site minus one directory

I am backing up a site including a huge cache folder use SFTP (FileZilla).I do not really need to backup the wp-cache directory, but do not want to get rid off it either atm. Is there a way to use ...
2
votes
2answers
922 views

SFTP - Allow user to upload to www only

Ubuntu Server 12.04 I need to allow the user offlineuser to upload files to the var/www/mysite/web/ directory only. This directory acts as a site root as well as an upload location (legacy setup). ...
0
votes
1answer
121 views

SFTP creates file but can't complete transfer

I'm trying to upload files to a VPS over SFTP. Unfortunately, I'm having a strange problem. While uploading a file over SFTP as root, the transfer appears to randomly stops somewhere in the first ...
0
votes
1answer
662 views

Linux SFTP access to /var/www

I'm running Ubuntu 12.04.1 LAMP server and I'm trying to get a user read write FTP access to /var/www. First I've installed vsftpd and set write_enable=YES and chroot_local_user=YES in vsftpd.conf ...
1
vote
1answer
171 views

How can I tell an ssh connection from an sftp one?

I am trying to restrict an ssh-user from executing unwanted commands through ssh from a remote host. For that I am using the forced command in the authorized_keys file that will allow the ssh-user to ...
0
votes
1answer
275 views

How does sftp replace files?

For example I have some http static server. I'm working with .js files via sftp. Keeping them sync. I'm wondering if .js file is replaced instantly or if the stfp server will write into that file as a ...
0
votes
1answer
1k views

SFTP without password prompt (from linux to windows)

I'm using freeFTPd as a sftp server on windows machine. From my linux machine(ubuntu) I want to do a SFTP from to windows and i want to bypass entering password as i'm trying to do this with scripts. ...
0
votes
1answer
406 views

How to disconnect idle SFTP users?

I have a SFTP server, where clients connect every minute to exchange files. There are few clients who connect and then dont disconnect resulting in a lot of connections over a period of time. This is ...
1
vote
1answer
111 views

sftp limitation: disable chmod +x

Do I have an option to forbid a user group or a sftpuser to set chmod +x? The user shall be allowed to upload media files, but no php scripts to run for example.
-1
votes
1answer
138 views

SFTP WIndows Client [closed]

Does anyone know of a good (free/open source) SFTP client for Windows. Need to be able to: sync a remote SFTP server with my local Windows folder to backup the remote to local. to run this on a ...
1
vote
1answer
522 views

SFTP files not showing upload date as last modification time

Some of the files we receive on our Redhat server are showing date different from upload date as the last modification time. For us the modification time is important as we classify files depending on ...
1
vote
2answers
158 views

Chrooting SFTP setup for a user

I would like to ceate SFTP user and limit access to a directory. So I created user and added following in configuration Match user joe ChrootDirectory /storage/public ForceCommand ...
1
vote
0answers
116 views

cloud SFTP server [closed]

We currently have an SFTP server in the DMZ. There are services from our servers and our partners servers which read/write into it. To reduce support we want to replace it by an SFTP solution "in the ...
1
vote
1answer
109 views

Directory Listing (ls) error ONLY in port 22 (SFTP)

Using SFTP I suddenly get this result: Status: Connecting to 64.207.146.82... Response: fzSftp started Command: open "root@64.207.146.82" 22 Command: Pass: ********* Status: Connected to ...
1
vote
2answers
1k views

Does SFTP server (via SSH server) on Linux support file transfer resume?

I need to transfer large files (in the 10+ Gigabyte range) across an unreliable network connection that spans large geographies. Remote users need to download these files to their local computers. The ...
0
votes
1answer
81 views

how to create sftp account

I am not sure if this question is relevant to this site or not but i hope i would get some help here for sure. I want to create sftp account for file management. I can only create FTP account from ...
1
vote
1answer
1k views

Setup SFTP vsftpd on Centos 5 with chroot

I would to like to restrict a user to certain directory(ies) but also allow to use SFTP for transfer. I looked at the answers provided to similar questions at: How do I setup SFTP for sites without ...
2
votes
1answer
302 views

Set default permissions for files created through FTP & SFTP on Mac OS X

I have 2 users on my Mac OS X Server, both in the group 'wheel'. If User A creates a file through SFTP/FTP, User B can read the file, but not write to it, since the default file permission is 644, ...
2
votes
2answers
169 views

Progress at fetching large file over sftp

I would like to get large file over sftp. I execute following commands: kopparberg:dev marek$ sftp -P 678 marek@server marek@server's password: Connected to server. sftp> cd backup sftp> get ...
0
votes
1answer
923 views

Authenticate by libpam-mysql and libnss-mysql (CentOS)

I'm trying to get MySQL to function as a backend for authenticating users on CentOS 6.3. So far I have successfully installed and configured libnss-mysql. I can test this by doing: # groups testuser ...
1
vote
2answers
361 views

How to allow unprivileged apache/PHP to do a root task (CentOS)

I am setting up a sort of personal dropbox for our customers on a CentOS 6.3 machine. The server will be accessible thru SFTP and a proprietary http service base on PHP. This machine will be in our ...
4
votes
2answers
361 views

Using SFTP on AS400 Non Linux Based OS

I am trying to establish an SFTP connection on an AS400, which is on an OS that is not running a Linux based kernel. Any idea where I can start with this?
0
votes
1answer
164 views

Cron job with shell script to repair SFTP directory and file ownership

Our SFTP share is set in: /home/COMMUNITY Each workgroup has its own directory, for example: /home/COMMUNITY/Halloween This directory has multiple directories under it. There is one group that ...
6
votes
2answers
3k views

symbolic link and filezilla over sftp

I'm pretty new to debian, and I'm trying to set up a server. I created a user which can only access to his folder /home/username (and its subdirectory). Now I want to use that user for the webserver ...
0
votes
1answer
4k views

SFTP: Move (rename) many files from one folder to another (not one by one)

I need to move all the files from current_path to current_path/DestinationFolder. The version of SFTP I'm using is: SFTP protocol version 2 The available commands are: sftp> help Available ...
1
vote
1answer
430 views

SFTP Connection Failing To Linode's Ubuntu Server

I installed vsftpd on our Ubuntu machine on (Linode VPS) and followed the steps from this documentation. http://www.noob2geek.com/linux/setup-vsftpd-debian-ubuntu/ So, everything works correcly if I ...
0
votes
1answer
1k views

SFTP, Chroot problems on Redhat

I'm having problems setting up sftp with a ChrootDirectory. I've done an equivalent setup on other distros, but for some reason I cannot get it to work on a Redhat AMI. The changes to my sshd_config ...