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
0answers
15 views

chroot with sftp on centos 6.5

I'm trying to get sftp working with proper chroot configuration on Centos 6.5 server. As for now I get: sftp user@000.000.000.000 User@000.000.000.000's password: Write failed: Broken pipe Couldn't ...
1
vote
2answers
26 views

safety of sshpass and sftp to dynamic host

I have a server with dedicated IP address A and a server with dynamic IP address B (routing via no-ip.org). A uploads a backup to B via sshpass: export SSHPASS=*** sshpass -e sftp **@** << ! ...
1
vote
1answer
24 views

does OPENSSH SFTP server uses umask or preserve client side permissions after put command (chrooted environment)?

I know this question has been already discussed, but by reading the posts I could not figure the answers, because some said "yes umask can work", and others say "openssh put command always preserve ...
0
votes
1answer
17 views

SSH keygen error (setting up a SFTP server)

I was following this tutorial, but a problem occurred and I couldn't find any help while googling it. Whenever I ran the command sudo ssh-keygen -e -f ~username/.ssh/authorized_keys | sudo tee ...
0
votes
0answers
16 views

Nginx redirection to url writen in requested file

I need to setup dynamic redirections. For example, a user open a link : http://www.example.com/2/3/4/ and see the page on the following address: http://www.example2.pl/something. I know about ...
1
vote
1answer
40 views

SFTP for users (own site folder)

I'm trying to config SFTP, so that my users can access their own site folder (with PSFTP/FileZilla). I use Vagrant, CentOS7, NGINX and .sh file. This is my bootstrap.sh, for creating one of my users. ...
0
votes
2answers
40 views

server side cd on sftp client connect

Is there a way with sftp to have it configured server-side to run a cd command when a client connects? I have my users thrown in to chroot, the folder has to be root:root chowned and cannot be ...
0
votes
0answers
15 views

Default value of pasv_address in FTP configuration (vsftp)

What is the default value of "pasv_address" in the vsftpd config? Will it be the IP address the client uses to connect to the server?
0
votes
1answer
24 views

Determine the setup of an existing SFTP user

CentOs 6 Linux Server I have an SFTP user (userok) that is jailed to a particular sub domain. All working perfectly fine and that is all that user has access to (full permissions). I have just ...
0
votes
0answers
43 views

“Jailed” user can access `/dev` directory under SFTP

I set up a jail for a remote user under SSH (Cygwin), and he is jailed at /jail/user/home/user. When he connects with some SFTP client (ex: Filezilla), he can access his /home/user folder and control ...
-3
votes
0answers
43 views

Linux filezilla cannot connect however there is no issue on windows [migrated]

I am trying to connect to my server using secrue ftp (SFTP). On Windows I have no problem however on my Linux computer I get the following error: status: Connecting to 89.104.207.220... Response: ...
0
votes
0answers
29 views

Can't change files with Transmit through SFTP. Wrong permissions

I'm having an Ubuntu Server installation. In a folder deployed a wordpress installation and because of the file uploads, plugin updates etc I chowned the entire folder and its subdirectories to ...
0
votes
1answer
37 views

Virtualmin FTP/SFTP connection and large files

I have added FTP user to an account and assigned to that user shell /bin/sh so can connect using SFTP. I have tested connection with a small file but it comes that can't upload anything bigger than ...
-2
votes
1answer
35 views

How do a sftp uri look alike? [closed]

I am new to SFTP, For the ftp, the link will appear as ftp://servername/folder/ We can see the list of files in that link. To look on a specific file, the link will be mentioned as ...
0
votes
0answers
32 views

ProFtpd with ssl and jailed users that cannot login to bash

I've followed several instruction pages and tutorials about configuring ProFtpd on Ubuntu (12.04) and they all give me "one thing works while other don't" solutions. Goal is to utilize SFTP protocol ...
-4
votes
1answer
32 views

How can I disable SFTP so that FTP is the only daemon open? [closed]

I've searched the web for hours and the most I can find to do is to comment out the following line out of my sshd_config: Subsystem sftp /usr/lib/openssh/sftp-server Which I have done, with a fresh ...
1
vote
1answer
28 views

Connect to server with ppk from console

i am trying to connect ubuntu server using sftp server. But the problem is i have a ppk key and i mustn't convert it to openssh. Is there a way to connect to server using ppk from command line? This ...
1
vote
2answers
74 views

Reliable file transfer between three systems

I've got three systems I need to transfer files between daily: Vendor A (SFTP site) - Deletes files after 14 days Vendor B (SFTP site) - Deletes files after processing them Company Server (Windows ...
0
votes
2answers
189 views

Exception calling “UploadFile” with “2” argument(s): “The Content-Type header cannot be set to a multipart type for this request.” [duplicate]

I am working with a script that is supposed to first check if a PC is alive then FTP a file to a server. However, when running the script I am getting the following error: Exception calling ...
0
votes
1answer
106 views

Does Git server over SSH requires SFTP?

Does Git server over SSH requires SFTP module? Official manual lacks info here: http://git-scm.com/book/en/Git-on-the-Server-Setting-Up-the-Server
1
vote
0answers
158 views

Match Group restriction in sshd_config does not work

I have got two groups in sshd_config: AllowGroups sftpusers sshusers And I have two groups below subsystem sftp /usr/lib/openssh/sftp-server: Match Group sftpusers,!sshusers ...
4
votes
3answers
358 views

Restricting the network access of Docker container

I'm in the process of creating an SFTP only Docker container, one that will be used by multiple people for the sole purpose of uploading and managing files in their own chrooted Environment. On ...
0
votes
1answer
101 views

SFTP restrict users to a few directories

I run a game server and I have a few people that I want to give access too the server to help develop. I am trying to let them have access to only these directories /var/www/Update /root/gamed/config ...
1
vote
1answer
112 views

chroot user to var/www/html

Can I limit a user login through sftp only can see and change files under var/www/html folder? I tried below, but then I can't login in Transmit through sftp # adduser user_www # passwd user_www # ...
0
votes
1answer
163 views

Need help - limit access to sftp user to other users home->subfolder

I have been able to find a lot of help with jailing a user to their own home folder and restricting them only to sftp but I working on a more advanced solution. What I am trying to do and can't find ...
0
votes
3answers
89 views

How to zip lots of folders into three+ independent zip files? [closed]

I have a massive amount of folders, and I want to zip/gzip/(what ever) them into 3 or more independent files. So for example, let's say I have this directories on my server: /dir1 /dir2 /dir3 /dir4 ...
0
votes
1answer
114 views

Setting up a chrooted SFTP user in a directory whose parent has group write permissions

I have a user who only has sftp privileges (no ssh) and who is chrooted in SFTP to /data/docker. /data (which is a separate drive) has 775 permissions and I'd like to keep it that way. However, when ...
0
votes
1answer
96 views

Can't gain access to SFTP after changes in /etc/ssh/sshd_config

I simply trying to make some changes in sshd_config file with port and other line (don't remember which one) and now I can't log in to my SFTP. It is possible to make some changes in this file using ...
0
votes
1answer
153 views

SSH Works fine but i cant connect to SFTP [closed]

I am facing strange issue, I am using Centos6. I can connect to ssh but i am unable to connect to SFTP. now the strange part is, if i restart server, SFTP starts working again for few mins, and then ...
1
vote
1answer
266 views

Exit code 126 from SFTP

I've been notified that SFTP access is no longer working on an Amazon EC2 server running Ubuntu. I had done some work creating SFTP access for other users on this server. The limited user access is ...
-1
votes
2answers
369 views

Chrooted ssh user cannot ssh into server : broken pipe

I just tried the following to add a new user, chroot the user and give him access to the folder /home/me/public_html via sftp and ssh : ##the following command are done by root or a sudo user useradd ...
0
votes
1answer
89 views

ProFTPd mod_sftp mod_sftp_sql

I am working on Ubuntu 12.04 I have setup a ProFTPd service with SSL/TLS, virtual users stored in a MySQL database and quota (mod_tls, mod_sql, mod_sql_mysql, mod_quotatab, mod_quotatab_sql). It works ...
0
votes
1answer
79 views

How do I force sftp user to start in their home directory

I am using RHEL6 and I set up an sftp server through sshd. Here is the relevant sshd config: Match Group sftpusers ChrootDirectory /sftp/%u ForceCommand internal-sftp X11Forwarding no ...
0
votes
3answers
77 views

Unable to copy multiple files from remote sftp via ssh

I am trying to copy multiple (1000s) .JPG files from remote SFTP server to current server using mget command but it is not working. Here is the command that I used sftp username@sftp.domain.com ...
5
votes
1answer
206 views

SSH & SFTP: Should I assign one port to each user to facilitate bandwidth monitoring?

There is no easy way to track real-time per-user bandwidth usage for SSH and SFTP. I think assigning one port to each user may help, but I am wondering if my approach is workable. Use case Bob, ...
0
votes
0answers
13 views

Sftp virtualhosting based on the SNI server name?

I am thinking on the possibility of the virtualhosting of sftp based on the server name, which was given by the client with SNI. Is it possible? Does any similar already exist there?
1
vote
0answers
69 views

ChrootDirectory for SFTP user in virtual host directory with write permissions and SuPHP

I am trying to give a SFTP user (user2) writeable access to a virtual host directory (website) in /var/www/mywebsite under Ubuntu 12.04. I have setup sshd_config to use Chrooting so that this user ...
1
vote
1answer
278 views

How to access FTP or SFTP in Webmin?

I have a linux server running webmin that I cannot connect to with FTP/SFTP. Usually I can connect to any server, eventually. But not this one. I can login and create any kind of user, do anything. ...
0
votes
1answer
3k views

SSH problems - server unexpectedly closed network connection

Since yesterday I have problems connecting to my server using SSH/SFTP. I can only connect after a restart of my server. When I try to make a connection after a couple of minutes, I can no longer make ...
6
votes
1answer
136 views

Different “RequiredAuthentications2” for sshd and sftp subsystem

we're currently using a 2factor authentication on our SSH servers, so we have "RequiredAuthentications2 publickey,keyboard-interactive" in our sshd_config (publickey for the key, keyboard-interactive ...
1
vote
1answer
108 views

PureFTPd Server on OS X - FTP clients can login but unable to view or write to their folders

Need a real FTP guru for this one I think. If you know something about pureftp please read through the below logs and see if something jumps out at you. People can log in but not post files or make ...
1
vote
2answers
61 views

FTP Multi User Environment doesn't allow multiple logins

I think ths is a general question but I'm not sure if it needs to be migrated because of the technical and security related nature of the beast in question. For my current client we have an SFTP key ...
-2
votes
2answers
301 views

How to uninstall Pure-FTPd on centOS? [closed]

as mentioned in the title I want to remove Pure-FTPd from my centOS server. Can anyone tell me how to do this? What is the command line that remove pure-ftpd? I have centOS 6.5 64-bit. Appreciate it.
0
votes
1answer
214 views

openssh sftp chroot: two levels of access

I would like to achieve the following with OpenSSH's internal-sftp, chroot and Match directive: Users belonging to group sftpuser should have read and write access to /srv/sftp/{username} (or ...
3
votes
2answers
3k views

Creating SFTP users and jailing to chroot on CentOS - user authentication error

I've got a CentOs release 6.4 with Digital Ocean and would like to successfully create SFTP users and jail them to the user's own chroot home directory but I fear I'm making a mess of this. I've ...
1
vote
2answers
84 views

How do I get AWS EC2 Ubuntu Server out of “Stopping” state?

I was unable to SSH or SFTP into my ubuntu server on EC2 this morning. It should be noted that SSH and SFTP were working fine up until now. To troubleshoot this I did the following: Logged into AWS ...
1
vote
1answer
94 views

SFTP password wrong from remote, but not from local

From my server, connecting to it via eth0 (not localhost), I can connect via SFTP: Apr 9 10:02:40 domain sshd[11526]: Accepted password for test from 1.x.x.x port 45335 ssh2 From a remote ...
0
votes
0answers
73 views

Ubuntu jail SSH & SFTP

So I'm having trouble with jailkit. SSH is working fantastically, SFTP not so much. zoneminder:x:1001:1002:,,,:/home/jail/./home/zoneminder:/usr/sbin/jk_chrootsh scott@neptune:/home/jail/home$ ls -l ...
0
votes
2answers
202 views

File synchronization between local server and a remote web server

I have a local(in office) web server which acts as a testing platform for my website. Also its working as a SVN server to manage my websites code. Also there's a remote web server where my actual web ...
0
votes
0answers
110 views

Creating SFTP Users chrootdirectory /var/www

I am trying to create a new sftp user in Ubuntu 12.04.4 and am running into some trouble. After creating the first sftp user, I document the commands for later user and then delete the user and try ...