Thursday, January 20, 2011

How to set chroot for SFTP under Ubuntu 8.04?

Ubuntu 8.04 LTS comes with OpenSSH 4.7, before the ChrootDirectory parameter was introduced. How can I upgrade OpenSSH to 4.9+? Alternatively, without upgrading OpenSSH, how can I set chroot?

  • rssh (restricted shell) exists on 8.04 and it can be used to setup a an account that is restricted to sftp and/or scp a specific folder.

    From Zoredache
  • Have you looked for the later release in the backports repository? As a key component of Ubuntu it could well be in there at a later version.

    netvope : I've uncommented the backports repositories in "/etc/apt/sources.list" and ran "apt-get update", but it still can't find newer versions. How can I install backports packages?

0 comments:

Post a Comment