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

0
votes
1answer
309 views

File write error while uploading via FileZilla

I have a user xyz which is able to create files in a directory, but when I try to write something on the newly created file, it fails. The file has proper read-write permissions to the owner i.e. xyz. ...
0
votes
2answers
955 views

What causes slow SFTP up/download speeds?

Are SFTP up/download speeds something that's in the control of the hosting company? Can they throttle SSH traffic, regardless of the port? I just signed up with a new hosting company. We'll call them ...
0
votes
1answer
232 views

SFTP Client - File Polling At Regular Intervals

We have a need of a SFTP client running on Windows, which automatically polls for a new file on a designated SFTP location (setup in Unix) every x minutes. Can you please help me identifying such a ...
-4
votes
1answer
2k views

How to automate a transfer of file from server to local system using ftp

I have a windows server 2003 which generates backup file to ftp folder in the server(using my own script). And I will ftp and copy it to my local hard disk daily. How can I automate this process using ...
0
votes
1answer
173 views

SFTP, ChrootDirectory and multiple users

I need a setup where I can put the contents of several user folders to a DMZ server from where external clients can download it, protocol SFTP, Linux, OpenSSH. To ease administration we want to use ...
1
vote
1answer
264 views

Setting up SFTP users that are jailed to their home directories with Chef

I'm hoping someone can help me figure out how to chroot jail users to their home directories for SFTP with Chef. I've tried multiple SSH cookbooks and Googled for an answer for several days with no ...
1
vote
1answer
237 views

Automatically retrieve a specific file via SFTP

How do I determine which file is the newest from a remote server that I am connected to via SFTP? My goal is to retrieve a specific file each day, via SFTP. The steps I will follow are: Connect to ...
1
vote
6answers
610 views

Secure file transfer in linux without SSH?

First thing i want to apologize if this question is silly or something...i just tried to research but it seems to be a bit hard to find exactly what i want in Google ! [or i'm not smart enough to find ...
-1
votes
1answer
78 views

FTP ip reached by using SFTP command but not FTP [closed]

I've been given by a company their FTP IP where I should connect to. I got also username and password. That is supposed to work with port 21, right? I tried to use FTP command-line but it didn't ...
1
vote
2answers
859 views

Ubuntu server closing connection after successful login

I am unable to logon to my Ubuntu (12.04 LTS) server via WinSCP or sftp. There was previously a permission problem for ssh_host_* files in /etc/ssh. This was after I tried chmod -R from another ...
3
votes
4answers
376 views

Disallow -p on sftp

We have a server that acts as a "dropbox" for (outside) users to upload data to us over sftp/ssh. We need to process these files (gpg decrypt, unzip, etc) as they come in. In the past, we simply ...
2
votes
2answers
681 views

How to setup a public rsync and sftp server

I want to setup a public storage server which allows sftp and rsync (through ssh). I've got it working with a chroot jail and rssh. When the user connects to the server with sftp he can read all the ...
1
vote
1answer
524 views

How to not run /etc/profile.d/custom.sh during Secure FTP login

When I attempt to Secure FTP (using WinSCP) to my CentOS 6.4 box I'm prompted with a message that states: Received too large (168438314 B) SFTP packet. Max supported packet size is 1024000 B. This ...
-1
votes
2answers
76 views

SSH stopped working for no reason

Please help. Everything was working fine. How can I connect to the command line now? Configuration Amazon EC2 server Ubuntu & Apache2 Only one user (root - not real name) has SSH access, ...
1
vote
1answer
94 views

Copying files over chained SSH connection

I am using a remote server and want to copy files from the server. When using the server, I need to log in with 2 steps. ssh username@A after loging into server A, I need to log in again. ssh ...
0
votes
1answer
327 views

Set FTP User default directory to /var/www Ubuntu Server

Trying to figure out the best way to set the default directory for the few FTP users we have (3 in-house developers who need access simply to the WWW directory). Want to just set it so that if any of ...
1
vote
0answers
172 views

SFTP OpenSSH 5.3 chroot-jail with write access to home directory

I've followed the myriad of tutorials/instructions to setup a CHROOT'ed/Jailed SFTP account, and it works great. However, I need the user accounts to be able to have full write access to their home ...
0
votes
2answers
5k views

How to enable SFTP uploads to Windows Server 2008R2

We need to transfer thousands of small htm files up to a web server running IIS7.5 on Windows Server 2008R2. The files are grouped in folders, each folder containing from 200 to 500 files. Remote ...
0
votes
2answers
359 views

chroot SFTP to another users subdirectory

I've successfully set up SFTP to chroot a user to their home directory. However, I have a case that I haven't been able to find any examples on, and the odd permissions needed for chroot make me ...
0
votes
1answer
324 views

Enabling DSA key authentification for SFTP while still keeping password login as optional (Ubuntu 12.04)

I have a server running Ubuntu 12.04 Server. I want to be able to use SFTP on the command line with a DSA key, so I don't have to type the password into the terminal. Is this possible to do on the ...
1
vote
1answer
842 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
661 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
711 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
134 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
92 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 ...
2
votes
3answers
2k 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
795 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
752 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
679 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
99 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
326 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. ...
6
votes
3answers
2k 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, ...
3
votes
2answers
797 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
3k 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
282 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
143 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
52 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
400 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 ...
6
votes
1answer
3k 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
1k 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
1k 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
38 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
1k 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
149 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
968 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
220 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
2answers
382 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
2k 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. ...