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
2answers
567 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
270 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
572 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
414 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
67 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
87 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
191 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
127 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
3k 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
275 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
218 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
610 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
561 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
458 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
114 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
83 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
1k 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
520 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
522 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
568 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
94 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
260 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
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, ...
2
votes
2answers
523 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
223 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
122 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
49 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
342 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 ...
4
votes
1answer
2k 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
682 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
561 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
37 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
131 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
727 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
185 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
299 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
488 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
123 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
150 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
620 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
166 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
1answer
115 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 ...