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

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
156 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
80 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
1answer
561 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 ...
7
votes
4answers
4k 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
3k 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
2k 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 ...
17
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 ...
8
votes
2answers
9k 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
341 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
267 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
865 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 ...
4
votes
2answers
12k 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
971 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
650 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
164 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
446 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
155 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
120 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
3k 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
127 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
202 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
1k 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 ...
1
vote
2answers
6k 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
335 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
2answers
512 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
3k 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 ...
12
votes
1answer
44k 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
2k 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
148 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 ...
2
votes
1answer
3k views

Can't connect to web hosting with Filezilla - Shows Initializing TLS [closed]

I am trying to open my web hosting account using filezilla, but continuously failing to open it via Filezilla. It always gets timeout after saying Initializing TLS... My hosting provider are saying ...
1
vote
1answer
377 views

ProFTPd with sftp first login fails, seconds succeeds

We are working with ProFTPd and SFTP module enabled. We have a problem with using the sftp module. When we try to connect to server in FileZilla we need to enter the password to the server twice, ...
3
votes
2answers
907 views

sftp vs ftps, securing SSH and virtual users vsftpd

right now, i would like to encrypt data tranmission over ftp. I considered sftp and fpts. After reading the www, I concluded there is a general tendency to favor sftp over ftps (eg. ...
3
votes
3answers
462 views

Disable chmod in openssh-server

I'm trying to disable the ability to use the chmod command from sftp clients. I want files uploaded by users to only be set based on the umask and remove their ability to change it. It seems like ...
1
vote
1answer
172 views

set umask per user

It's possible to force any ssh type connection to have a umask of 0777 using pam. This is what I have: # /etc/pam.d/ssh sesssion required pam_umask.so umask=0777 I want to do this only for a ...
0
votes
1answer
377 views

Chroot SFTP Users

I have an Ubuntu Server, where several users log in to upload some files. Each user has a home directory, in which I 'd like to be chrooted. e.g. user1 connects with sftp to the server and is ...
1
vote
1answer
277 views

sftp uploads to multiple servers

I have multiple EC2 instances that share the same directory and files in /var/www. Now, everytime I need to upload, I need to use an sftp client, it is good maybe if I have only one server but, I ...
1
vote
2answers
3k views

sftp with anonymous user

How I can set a anonymous sftp user ? I generate the ssh keys pair, set /usr/lib/sftp-server as shell in /etc/password and share the private key (id_rsa) and with this command the users get access ...
3
votes
1answer
2k views

SSH - cannot start sftp-server when trying to force internal sftp

i'm having trouble forcing users to only be able to use sftp when connecting over ssh. I have the following lines in my /etc/ssh/sshd_config: Subsystem sftp /usr/libexec/openssh/sftp-server Match ...
0
votes
2answers
358 views

SFTP Access on CentOS Server

I have a CentOS server with a plesk control panel installed, I used to login using SFTP with the root password to manage the files. However, and all of a sudden, I am not able to access the server ...
1
vote
0answers
395 views

SSH automatically disconnects after file transfer

I'm running Ubuntu 11.04 on a machine in my house that I use for web development. I connect to it using Filezilla SFTP to transfer files from my office. When I connect and only browse, the connection ...
2
votes
4answers
9k views

Detecting upload success/failure in a scripted command-line SFTP session?

I am writing a BASH shell script to upload all the files in a directory to a remote server and then delete them. It'll run every few hours via a CRON job. My complete script is below. The basic ...
2
votes
3answers
828 views

How do I limit concurrent sftp / port forwarding logins

I have ssh set up so my users can only access sftp and port forwarding, how can I limit the number of concurrent logins on a per user basis? In my sshd_config file, I have UsePAM set to yes, and in ...
0
votes
1answer
307 views

Home folder only SFTP connection has limited access

I have configured sftp access for user using this guide: Linux shell to restrict sftp users to their home directories? I have problem though. I have taken all steps. I have chown'ed root:user the ...
0
votes
1answer
95 views

SSH: one user logs in, other don't

Some users can ssh correctly, others don't. I have an admin user, which is in wheel. I used vsftpd for allowing FTP. I created a nologin user for FTP. Call this user "ftpuser". Now I want to allow ...
1
vote
1answer
84 views

Windows secure file copy

I'd like to setup a secure file copy to some of my servers. A particular login (not Active Directory or Windows login) would have access to a starting point (e.g. c:\a\www) and then that login would ...