Setting up Chrooted SSH ubuntu

Discussion in 'HOWTO-Related Questions' started by alexprokop, Jul 7, 2013.

  1. alexprokop

    alexprokop New Member

    I've been following this how to guide on how to set up Chrooted SSH/SFTP users:

    http://www.howtoforge.com/restricting-users-to-sftp-plus-setting-up-chrooted-ssh-sftp-debian-squeeze

    I have SFTP working correctly, but on attempting to run the script referenced in the tutorial to setup a Chrooted SSH user (http://www.fuschlberger.net/programs/ssh-scp-sftp-chroot-jail/) it asks whether to overwrite /bin/bash. The tutorial says it is no longer necessary to create a special shell for OpenSSH and you can use /bin/bash instead, but if that is the case I'm sure I don't want to overwrite it?

    If I choose no at this point then the script exits.
     

Share This Page