0
votes
0answers
6 views

All SFTP chroot access is read only?

These are the pertinent lines from my /etc/ssh/sshd_config Subsystem sftp internal-sftp Match Group sftp X11Forwarding no AllowTcpForwarding no ChrootDirectory %h ForceCommand internalsftp ...
2
votes
1answer
68 views

SFTP chroot configuration error

Can anyone see what I have done wrong in this procedure? I can connect to the server as the new user and am in the chrooted directory, but despite setting all the proper root permissions, I cannot add ...
2
votes
1answer
417 views

How to configure SFTP to login in the “/” directory?

I want to login as root and make the / as the default directory in SFTP. Newbie help needed
1
vote
0answers
61 views

Chrooting to a mounted USB Stick using SFTP

I would like to use SFTP over OpenSSH as a small FTP server. However I would like to use a mounted hard drive or USB stick as the chrooted directory for the user. As far as I see, chrooting is ...
0
votes
0answers
158 views

rssh with chroot

(I changed the IP address and port to protect the innocent.) On the server, my /etc/passwd entry, /etc/rssh.conf, and the file I'm trying to access look like this: lawsa@bukavu:/mnt/share/Public$ ...
0
votes
0answers
266 views

SFTP chroot jail closes session after authentication

I'm trying to chroot an SFTP user to his home directory, but whenever I log in (using PuTTY), the SSH client closes. This is what the auth.log says: Aug 6 07:53:22 ip-xxx sshd[2733]: ...
0
votes
1answer
293 views

chroot sftp not able to login

I am trying to set up sftp access on my server and chroot the users into a samba share. When I edit /etc/ssh/sshd_config and add Match Group sftpusers ChrootDirectory /srv/samba/share ForceCommand ...
1
vote
2answers
7k views

Changing write permissions for jailed SFTP denies login

I have scouted over many websites and forums on how to setup an SFTP user that is jailed to a certain directory using CHROOT. Here are the steps I have followed but I can't seem to get write ...
1
vote
1answer
1k views

How to setup SFTP with Chrooted for Groups

After many trials and errors trying to setup a working sftp server for multiple groups with chrooted directory I decided to share what finally worked for me. I am a novice 2 months into Ubuntu so ...
3
votes
1answer
287 views

Need to write a script that will jailkit a user and give them access to a particular website directory

I have a ubuntu 12.04 app server hosting a few websites. We need to give access to the developer to only be able upload files to one of the websites. I have installed Jailkit but can't seem to find ...
0
votes
1answer
573 views

Changes to user's home directory not updating

I've just made changes to a user's home directory (using usermod -d) - but I'm still going to the old directory when I login (via sftp). Do I need to restart a user service to pick up these changes? ...
31
votes
2answers
63k views

How can I chroot sftp-only SSH users into their homes?

I want to give a client access to my server, but I want to limit those users to their home directories. I will bind-mount in any files I want them to be able to see. I've created a user called bob ...
9
votes
2answers
41k views

How to setup a SFTP server with users chrooted in their home directories?

I have been trying to set up a SFTP server with multiple users chrooting into their home directories. I followed the advice on this guide and then executed the following commands on the user's ...