0
votes
2answers
32 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 ...
-2
votes
1answer
25 views

How to create an SSH user and give him access to a single folder? [closed]

I want to give my friend SFTP access to a specific folder on my VPS and nothing else. I don't want to give him complete ownership over the folder because me (root) and nginx (www-data) need access to ...
-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
1answer
94 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
147 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
347 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 ...
0
votes
1answer
151 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
1answer
112 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
94 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 ...
1
vote
1answer
254 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
330 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
74 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
74 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
205 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, ...
1
vote
1answer
269 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
133 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 ...
0
votes
1answer
203 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 ...
1
vote
2answers
83 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
90 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
72 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
0answers
109 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 ...
0
votes
0answers
60 views

How to solve problematic cpu load due to encryption when using SFTP on a VM

my company is trying offer a sftp service for a big amount of customers. The serving machine will be on a VM and tests have shown that, with an increasing amount of simultaneous users, the cpu becomes ...
2
votes
2answers
414 views

Is the SSH SFTP subsystem required on the managed nodes for Ansible to work?

When I run: ansible all -a "/bin/echo hello" -u myuser I get back: mydomain.myhost.com | FAILED => failed to open a SFTP connection (Channel closed.) The SFTP subsystem is disabled on the ...
0
votes
2answers
193 views

rbash to limit user to its home directory closes sftp connection

Server: Red Hat Enterprise Linux Server release 6.5 (Santiago) Using openssh-server to allow sftp connexions. I'm trying to limit users to their own personal home directory. So i modified ...
1
vote
2answers
63 views

Debian: How to detect when user connects for the first time with SFTP?

I'm trying to set up the following: Allow access to an OpenSSH sftp server via ssh keys only, i.e. no password authentication allowed. SSH keys are generated automatically on the server. The server is ...
1
vote
1answer
67 views

SSH : Restrict sftp to a directory without jailing shell

For a user group I'd like to: Restrict SFTP access to a given directory Use a custom shell for TTY which takes care of only exposing what needs to be exposed from the system but that still need ...
1
vote
2answers
763 views

SFTP does not work for one user, SSH does work

I can login with password via root and user1 I can login with Filezilla via root but not user1 Here is end of Filezilla log Trace: Initialised HMAC-SHA1 server->client MAC algorithm Command: ...
0
votes
0answers
53 views

How to write a path with dots in sshd_config

I'm writing the default directory for a SFTP user in sshd_config, using this code: Match user ftpuser ChrootDirectory /var/www/ftp.user ForceCommand internal-sftp AllowTcpForwarding no ...
0
votes
1answer
184 views

Set Users as chrooted for sftp, but allow user to login in SSH

I have setup a ssh server on debian 7, to use sftp connection. I chrooted some user, with this config: Match Group sftpusers ChrootDirectory /sftp/%u ForceCommand internal-sftp But if i ...
0
votes
1answer
149 views

SFTP Chroot for Apache2

I'm attempting to setup SFTP (OpenSSH 6.1 internal-sftp) so that a group of users(sftpusers) can access my server specifically to work on development of my website: Match Group sftpusers ...
2
votes
3answers
259 views

Cannot jail SSH users to any folder other than their home folder

I need some help on this. I'm attempting to jail SSH users into their own folders so that they can SFTP into a server without seeing the filesystem I have following a simple guide online and managed ...
0
votes
2answers
156 views

Allow SSH but disallow SFTP?

Requirement: Allow SSH but disallow SFTP to a particular user group. Once disallowed, if the user group tries to access SFTP, it should not be allowed and all connections should be closed and the ...
0
votes
2answers
102 views

Allow SFTP and process running but disallow ssh for a single user

as the title said, i want to disallow ssh access for a user, but allow the user to execute a java process and access SFTP How this can be done?
0
votes
2answers
82 views

unable to access public ip on occasion?

my server is configured to have a public ip on one network card, and a private ip on the other network card... the server was running fine after some time... suddenly i'm unable to access my server ...
0
votes
0answers
143 views

Scp fails in one direction for admin but is successful with root user

I am able to do a scp from one server to anoher using a particular user but the same user is not able to send files back to the first one. I used scp -vv and the detials look as below: Executing: ...
1
vote
1answer
661 views

jailing sftp users without messy folders [duplicate]

Running ispconfig3 on CentOS6. I'm setting up a new server that will host multiple websites for different clients and I want to use sftp as a more secure option to ftp. I have successfully set up an ...
0
votes
1answer
177 views

Hide or revoke permissions to the .ssh directory for sftp and ftp access

I dont want that the user has access to the ssh key via sftp and ftp. Is there a way to change the directory or revoke the permissions, even to see the .ssh directory ? Have not found anything with ...
1
vote
1answer
110 views

Is there a way to disable SFTP access without changing the user password?

We have a web app that allows our users to set up vendor SFTP accounts. We want our users to be able to manage the vendor accounts that can access their server in a reversible fashion, ie, without ...
0
votes
1answer
104 views

Can't log in to sftp server

I'm trying to set up sftp server with open-ssh to store some files but when I try to connect it I just get "Connection closed by server with exitcode 1" in FileZilla. It can't be just wrong username ...
1
vote
1answer
234 views

Why is SSH/SFTP failing for commands with larger returns?

We have a SFTP server which was working fine until we added another ISP. The connection to the SFTP server is not going through the new ISP, I confirmed it with tracert. No change was made on the ...
0
votes
1answer
151 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
185 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
6answers
550 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
vote
2answers
565 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
571 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
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 ...