All Questions
8
questions
0
votes
0
answers
549
views
How set ChrootDirectory on ssh_config in Ubuntu 20.04
how can I set the chroot directory for a specific user in ssh_config?
I'm trying:
Match User zeus
ChrootDirectory /home/test
Forwardx11 no
But I get a syntax error for the "...
0
votes
2
answers
4k
views
SFTP Default Folder & Limiting Access With chroot
I want to default a given user to a specific folder when they SFTP to my Ubuntu 18.04 machine. I also wanted to lock down SFTP a bit. This Digital Ocean post gave me what I needed, and helped me get a ...
1
vote
0
answers
84
views
Overcoming the openssh / sftp jailroot unwritable
we have set up openssh / sftp with a jailroot via chroot; it's well established that a client can't write (upload files to) this root; you need to set up a writable subfolder. However, we have ...
10
votes
1
answer
37k
views
Limit SFTP user access to specified directory
I have a Ubuntu 14.04 server installed with open ssh. I'd like to configure sftp for customers to be able to download files only. In other words, I put files in a directory that they are jailed to. ...
2
votes
0
answers
272
views
OpenSSH chroot breaks ssh and ftp
I'm trying to set up a webserver with a restricted sftp connection. I've googled and followed several walkthoughs that all appear to be pretty much the same thing. Here are my steps:
Fresh install ...
0
votes
1
answer
973
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
1
answer
754
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 ...
2
votes
2
answers
9k
views
How can I set up SFTP with chrooted groups?
How can I set up a working sftp server for multiple groups with a chrooted directory?