Access chroot via SSH
(ref http://wiki.mandriva.com/en/Development/Howto/Chroot)
1. Enter to chroot
2. Setup openssh-server
3. Edit /etc/ssh/sshd_config
Port 2222
4. Launch sshd daemon inside chroot
5. Add user/pass inside chroot
6. From outside, try ssh user@localhost -p 2222
1. Enter to chroot
2. Setup openssh-server
3. Edit /etc/ssh/sshd_config
Port 2222
4. Launch sshd daemon inside chroot
5. Add user/pass inside chroot
6. From outside, try ssh user@localhost -p 2222
Comments
Post a Comment