I have been geeky

I have been quite geeky lately. Messing around with the ovh server. My latest geekness has been to setup chrooted openssh. Ahh such joy. All so that web files can be uploaded with the correct usernames. Luckily the feature is a new one for openssh, but reasonably easy to achieve, and nowhere near as complex as it used to be. Nowadays all you have to do is tweak your sshd_config file, to include a line for the ChrootDirectory and line to say to use the internal sftp system. Of course for me that involved upgrading loads of bits and pieces, and then figuring out that the %u substitution actually seems to break the sftp – so don’t bother using that if you’re having trouble with it disconnecting your sftp sessions – but after some banging of head the thing works!

And that’s my geek for the day.

This entry was posted in Web and Tech and tagged with , .
Bookmark the permalink.
You can follow any comments here with the RSS feed for this post.
Both comments and trackbacks are currently closed.