Hello all!I am having a problem with the OpenSSH-sFTP server.I have a user, "niften", I want him to be able to edit files in his directory, upload files, and download th... [by rguz10]
Here are the step I did and I am having problem resolving this issue,
I created chrooted directory for sftp and the ChrootedDrectory looks like this
Match Group sftp
I added sftp user with
useradd -g sftp -d /sftp user
The /chroot/home directory is own by root:root and chmod is
I have 700 binary files (pdf) to download and right now only 400 are available on a sftp server. Can sftp, from the cli, determine what files exist in the local directory so it doesn't need to re-download those files, or will all 700 need to be downloaded and any new files will need to specify the file name?
I'm trying to set up sftp so that a few trusted people can access/edit/create some files. I have jailed a user into their home directory (/home/name) but have run into a problem. I want for them to also be able to access other parts of the VPS because it is also a game server, webhost, etc, and I want for them to be able to have full control of files outside their jailed directory.
I have SFTP setup using internal-sftp on OpenSSH. I'm chrooting into /var/www as a generic user. New files are created as the user. I'd like new files to be created as www-data for simplicity and security. How can I set this up so that new files are created with www-data?
I've set up a SFTP server using OpenSSH. After following a guide online, I set up a group called sftponly and added a user to this group. I used the Match group switch in the sshd_config file to match the group so that user's in that group could only connect for SFTP sessions. I set up the chroot to point to "/home/%u".
I've been fooling around with SFTP. I can get it up and running, but whenever I do so, I can't nog longer log in with SSH with my user.
SFTP is set up for another user that should have SFTP access only.
Basicly, I just wanna share a few files with a friend - but not letting this friend be able to access anything else on my server.