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
316 views

SSH - SFTP/SCP only + additional command running in background

there are many solutions described to get ur SSH-connection forced to only run SFTP by modifying the sshd_config by adding a new group match and give that new group a Forcecommand internal-sftp Well ...
1
vote
1answer
409 views

Jailkit not locking down SFTP, working for SSH

I installed jailkit on my CentOS 5.8 server, and configured it according to the online guides that I found. These are the commands that were executed as root: mkdir /var/jail jk_init -j /var/jail ...
4
votes
1answer
3k views

SFTP: file symlinks in a jailed (chrooted) directory

I'm trying to set up sftp so that a few trusted people can access/edit/create some files. I have jailed a user into their home directory (/home/name) but have run into a problem. I want for them to ...
0
votes
1answer
271 views

SFTP download the files and then i wanted rename the server files how to do this?

I have to setup with the banking interface where I need to connect to the remote bank and then download the files in the bank server in-box to my local server for further processing so i do following ...
0
votes
1answer
126 views

Protocol error when trying to SFTP from server to server

I am hitting a Protocol error while trying to SFTP from one server to another. I have tried to search up Google to no avail. May i know if anyone can help me with this. ...
-1
votes
1answer
460 views

How to determine if OpenSSL and mod_ssl are installed on centos6?

I need to connect to a CentOS 6 server via SFTP. What are the requirements to make or accept SFTP connections? I think I need to have OpenSSL installed, along with SSL certificates installed in both ...
1
vote
1answer
81 views

SFTP/SSH profile load

I have a CentOS 6.2 server. Whenever some one logs into the server using the terminal (SSH) the user profile (.bash_profile) is loaded. Now my question is, is there a profile that loads whenever you ...
1
vote
1answer
81 views

SFTP (or similar) server automated setup for group spaces

I need to build a dedicated machine which will be used to allow our clients to upload and download files in a secure manner. Each client has multiple users, and I would rather not hand out generic ...
2
votes
2answers
651 views

Setting up a chroot sftp on debian server

I'm trying to allow a user "user" to access my server by either sftp or ssh. I want to jail them into a directory with chroot. I read the instructions here however it does not work. I did the ...
2
votes
1answer
306 views

Multiple public/private key pairs for the same user

First, sorry if this question has already been asked/answered - I've searched but perhaps I haven't recognised the answer.... What we have is a cluster of servers which need to access a single remote ...
1
vote
1answer
144 views

Chroot won't work with OpenSSH

I have the latest OpenSSH, I have a group "members" with 5 users. I need to get SFTP to certain directory, nothing else. I seem to be able to do it with Chroot, but it's not working. Heres my ...
1
vote
2answers
524 views

openssh sftp chroot

I chrooted a user to the directory /var/www/upload using ChrootDirectory /var/www/upload in my etc/ssh/sshd_config. The permissions of all the files in var/www/upload is 755 and owner is ...
0
votes
1answer
869 views

openssh-server: ChrootDirectory is not allowed within a Match block

My sshd_config looks like this: Match User c_upload ChrootDirectoy /var/www/upload ForceCommand internal-sftp etc/init.d/ssh restart fails with this message: /etc/ssh/sshd_config: ...
2
votes
2answers
340 views

SFTP post upload hook

How would I run a script after a file has been successfully uploaded over (a chrooted) SFTP? I have this working on standard FTP connection using PureFTP ...
2
votes
2answers
2k views

User can't SFTP after chroot

Ubuntu 10.04.4 LTS I'm trying to chroot the user 'sam'. According to all the articles out there this should work, but apparently I'm still doing something wrong. The user: ...
0
votes
2answers
149 views

Why should I keep the root user if I'm not supposed to use it?

I'm on a fresh VPS with Ubuntu Server 12.04. I wanted to ask you the good practices to apply to enhance security over a stock Ubuntu-server. This is what I did up to now: I added Google Authenticator ...
1
vote
0answers
76 views

Modifying httpd.conf to adjust for mod_wsgi and django install then cannot connect via sftp

I modified my httpd.conf file to point to a .wsgi file that I made directing apache to different document root. The server works fine, I see my application live on the net and I am still connected via ...
2
votes
3answers
1k views

Creating multiple SFTP users for one account

I'm in the process of migrating an aging shared-hosting system to more modern technologies. Right now, plain old insecure FTP is the only way for customers to access their files. I plan on replacing ...
0
votes
0answers
176 views

How to avoid unknown IP connecting to my FTP server?

I have configured Core FTP mini-sftp application in my server to use SFTP. I observe some unknown IP's connecting to my server in the connected list. By tracing the ips I found they are some chinese ...
0
votes
1answer
536 views

adding ChrootDirectory to sshd_config to jail a user prevents the user to login

i've created an user on ubuntu 10.04 and wanted to jail the user by disabling ssh shell and allow sftp. when there is no ChrootDirectory in the sshd_config the user can login just that it can see ...
6
votes
4answers
3k views

OpenSSH anything like 'internal-sftp' but for SCP?

I'm running Debian stable and I'm looking to establish the following environment for users in my 'sftponly' group: jailed can transfer with SFTP can transfer with SCP cannot login interactively with ...
0
votes
2answers
2k views

Restricting User Access in Debian Squeeze

I've been contemplating ways to restrict user access to their own directories, not allowing them to navigate above their own user directory. I'm using SFTP, and don't want to install regular FTP ...
2
votes
1answer
964 views

sftp/ssh failing after adding “Match group” clause

I am attempting to set up an sftp server on ubuntu/precise on EC2. I have been successful in adding a new user that can connect via ssh, however once I add the following clause: Match Group sftp ...
15
votes
4answers
2k views

Why does Amazon release private keys instead of public keys?

My brain is wrapped around the axle on public and private keys. When you create a cloud server (instance) on Amazon's EC2 service and then want to connect to it via SSH, Amazon requires you to ...
7
votes
2answers
7k views

SFTP fatal bad ownership or modes for chroot directory ubuntu 12.04

I just set up my SFTP server and it works fine when I use it from my first user account. I wanted to add a user which we will call 'magnarp'. At first I did like this in sshd_config: Subsystem sftp ...
0
votes
1answer
277 views

SFTP not connecting through Cisco 877 router

I am configuring a Cisco 877 router in a test environment. We use a non-standard port for SFTP, 3030. On my inbound ACL I am setting permit tcp any any eq 3030 but the remote SFTP connection is being ...
1
vote
0answers
228 views

FTP and Apache permission issues … And sftp, and ssh, and php scripts

I've read the previous posts but I'm still looking for a good way to manage directories permissions and users. Here's the layout : You have a php app whose code is provided by 3rd party. Dirty ...
0
votes
1answer
655 views

File/Directory permissions for SFTP user

After using the SSH quite a lot on my 1.5 week old Debian 6 VPS, I wanted to start uploading files through SFTP. I already tried that earlier, but with the root account, which isn't possible with SSH ...
3
votes
2answers
9k views

write permission denied via filezilla sftp to /var/www/html

Ok, I'm almost completely new to linux and apache configuration. My problem is that I've got apache displaying the default page, but when I try and access it via sFTP it tells me that I have write ...
0
votes
2answers
768 views

Moving a 13 gig file over sFTP (md5sum fails)

Each time I download a big file over sftp, the md5sum on the source machine doesn't match the md5sum I do on the destination machine. I have a 13gig file on an Ubuntu 12.04 machine with ...
5
votes
2answers
581 views

nginx clobbering sftp traffic during peak times - is tc the answer?

This is probably a continuation of my previous (unanswered) question because the underlying cause is probably the same. I have a Linux server with nginx and sshd running on it. It's on a shared ...
1
vote
1answer
161 views

Chroot / sFtp / Ftps Problems

regular debian admin, i am faced to a complex situation and i appreciate your advices... I have a server with chroot environment that is working without problems up to now : Chroot user : store ...
2
votes
2answers
369 views

Is it safe to only allow SSH access from certain IPs?

I'm currently installing CSF (http://www.configserver.com/) for my Ubuntu server and in CSf you're able to specify the ports you want everyone to be able to access, and if your IP is in the allowed ...
0
votes
1answer
135 views

Centralizing our FTP processes via an SFTP server in our DMZ

We have a number of various FTP processes, running on various internal servers, that connect with outside vendors to send or receive sensitive data files. As such, we don't have one centralized place ...
0
votes
1answer
106 views

Why does my ftp(e)s server fails like half of the time

I have this discussion at work regarding our ftp server running via vsftpd. Initially, we have opted to serve ftpes instead of sftp because this seemed the most flexible and straightforward solution ...
7
votes
3answers
3k views

how to pipe data to sftp connection?

ftp supports the put "|..." "remote-file.name" command to pipe data to an ftp connection. Is there something similar available for sftp? In sftp i get the following error: sftp ...
0
votes
1answer
2k views

Allow SFTP in iptables

I have just purchased a VPS from linode and am going through the setup guide. I have everything running (apache2, php, mysql etc) but I am being denied access via SFTP when using fileZilla to upload a ...
1
vote
2answers
111 views

Windows Tool - SFTP to Multiple Server

does anyone know of any tool available. I have around 100 servers and i'd like to transfer a single file into each of them. Is there any windows tool that does this?
1
vote
3answers
2k views

Wordpress can't find ssh public and private key pair

My server configuration is as follows: CentOS 5.8 (final) running Nginx. I am using the SSH2 feature of Wordpress's plugin installer. I have installed lib2ssh and it is working (Wordpress is ...
0
votes
1answer
171 views

Access via sftp/scp an encrypted disk

I would like to do something really paranoid but I am not sure it could be done at least easily... Let's see if I can explain properly: I have a server running debian (could be changed to any other ...
1
vote
2answers
1k views

SFTP “Could not connect to server error”

I'm having problems connecting to my server via SFTP. I can SSH in to the system perfectly fine, but for some odd reason, i'm not able to SFTP (which I used to be able to). I have cleared ALL my ...
1
vote
1answer
889 views

Managing Linux Directory Permissions & SFTP

Good morning; I have a RHEL 5.7 web server configured to allow SSH/SFTP only by specific groups. I'd like for content managers to upload content to their respective directories and have that content ...
0
votes
2answers
4k views

chrooting user causes “connection closed” message when using sftp

First off I am a linux newbie so please don't assume much knowledge. I am using CentOS 5.8 (final) and using OpenSSH version 5.8p1. I have made a user playwithbits and I am attempting to chroot them ...
0
votes
1answer
317 views

Linux SFTP and many local user accounts, limits with mount --bind?

I am in the process of building a solution to handle many developers (possibly hundreds) to work on their files via sftp, each one Jailed in their home directory. For our particular needs, we have a ...
0
votes
0answers
432 views

Is there no way to preserve permissions on sftp?

Debian 6 I've setup /etc/ssh/sshd_config as such: Subsystem sftp internal-sftp -u 0002 Match Group sftp ChrootDirectory %h ForceCommand internal-sftp -u 0002 AllowTcpForwarding no Match ...
0
votes
2answers
477 views

Ubuntu SFTP & Chrooting

I've been looking around for a few days now, playing around with configurations and following tutorials on this. I Have two groups: dev and sftp. Users within the dev group are also part of the ...
0
votes
2answers
2k views

sftp concurrent connection

I have to setup my server to receive 20-30 concurrent sftp connections from different clients using same username. I've tried to test this simulation user connections with scp. The problem is that ...
10
votes
1answer
37k views

How to add user with SFTP/ FTP access to '/var/www/html/website_abc' folder on Amazon EC2 Centos?

Possible Duplicate: Linux directory permissions I'm working with some third-party developers and I would like to grant SFTP (or FTP) access to the root folder for a website they're working ...
0
votes
2answers
1k views

How to enable LDAP auth for SFTP logins only

I currently use ActiveDirectory for authentication on my Ubuntu 10.04 servers using a tool called Centrify Express. Centrify has a custom .so file that is configured in /etc/pam.d/common-auth. I'd ...
0
votes
1answer
136 views

FTP/SFTP client that can store sessions in MSSQL

I'm looking for a FTP/SFTP client that can store all the session information in a central SQL server, so all employees always have an up-to date list of FTP sites they can connect to. I've been using ...