0
votes
0answers
17 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 ...
1
vote
0answers
176 views

How do I chroot an SSH user to their home directory?

I don't want to use jailkit. My OS is Ubuntu 14.04. I am setting up a user account on my server for a kid I tutor, so he can run a minecraft server. He will be using putty to ssh into my server, and I ...
0
votes
1answer
20 views

installing ubuntu base system in home folder as non-root

I don't have root acess to a server which is running centos. I need a minimal ubuntu chroot environment in my $HOME . (just the apt-get, repositories etc to install packages and run them in terminal. ...
1
vote
0answers
73 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
165 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
1answer
299 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 ...
2
votes
0answers
196 views

ssh-agent not accessible within a schroot

I'm using an schroot to do some builds of deployment packages, and there's a lot of to and fro between the host and the schroot environments. Within the schroot the ssh-agent doesn't seem to be ...
0
votes
1answer
240 views

Match directive breaks SSH

On my Ubunut server 12.04 LTS machine, I try to add a user with only sFTP or FTP access. Let's call him 'Jim' for now. Jim only needs access to a directory /var/www/example.com. So far I've tried ...
1
vote
0answers
86 views

Auto-passphrase in schroot: can't connect to `/run/user/korn/keyring-x30g9r/gpg

when running "debuild -S -sa" to create the source files and sign them in Ubuntu 12.04 I only had to enter my passphrase once and then it is automatically used to unlock my private key on future runs ...
1
vote
0answers
43 views

Is there a good ssh jail solution for Ubuntu 12…? [duplicate]

Is there a good how-to/tutorial on setting up a chrooted ssh environment on Ubuntu 12.04LTS. I'm NOT interested in chrooted sftp which is easy to implement. It's jailing users in their home ...
1
vote
0answers
36 views

Can anyone recommend a good chroot ssh tutorial/ how to for Ubuntu 12.04 LTS [duplicate]

Possible Duplicate: Simplest & Easy Way To Jail Users I'm looking for a good how-to/tutorial on setting up a chrooted ssh environment on Ubuntu 12.04LTS. I'm NOT interested in chrooted ...
34
votes
2answers
68k 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 ...
20
votes
4answers
25k views

Simple & easy way to jail users

I need a simple and easy way to jail users in their home directories in Oneiric. Do you have a simple configuration for jailing users, with full help, or some good web links? I would be offering an ...