From a post in a forum:
- Enable ssh:
http://<mybooklive>/UI/ssh
- Create shares, users, set passwords and permissions via dashboard
- Allow Users to SSH:
edit file /etc/ssh/sshd_config
Change "AllowUsers" line by adding user names such as:
AllowUsers root user1 user2
- Optional: Set users home dir: edit file /etc/passwd
The following will set home dir to "Public"
Change from "/shares:/bin/sh" to "/shares/Public:/bin/sh"
- Restart ssh deamon or reboot:
/etc/init.d/ssh restart
Test ssh for your users within the home network. If all works, then proceed to:
- Set your router to forward port TCP 22
- Set DDNS on your router
No comments:
Post a Comment