{"categories":["linux","ssh"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhogem.hatenablog.com%2Fentry%2F2015%2F06%2F08%2F233000\" title=\"openssh chroot\u304b\u3064sftp\u3060\u3051\u5229\u7528\u3067\u304d\u308b\u74b0\u5883\u3092\u69cb\u7bc9\u3059\u308b - \u3046\u307e\u3044\u307c\u3046\u3076\u308d\u3050\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_name":"Hatena Blog","title":"openssh chroot\u304b\u3064sftp\u3060\u3051\u5229\u7528\u3067\u304d\u308b\u74b0\u5883\u3092\u69cb\u7bc9\u3059\u308b","author_url":"https://blog.hatena.ne.jp/hogem/","height":"190","type":"rich","version":"1.0","description":"\u53c2\u8003 https://en.wikibooks.org/wiki/OpenSSH/Cookbook/SFTP#Chrooted_SFTP-only_Accounts \u8a2d\u5b9a\u304c\u3042\u307e\u308a\u8907\u96d1\u3067\u306a\u304f\u3066\u3001\u8272\u3005\u306a\u843d\u3068\u3057\u3069\u3053\u308d\u6c42\u3081\u305f\u3089\u3053\u3046\u306a\u3063\u305f\u3002\u5229\u7528\u3059\u308b\u306e\u306fopenssh\u3002 openssh\u306eMatch User(Group)\u3068ChrootDirectory\u3092\u4f7f\u3048\u3070\u3044\u3044\u3051\u3069\u3001 openssh\u306e\u4ed5\u69d8\u306b\u3088\u308a\u3001ChrootDirectory\u306froot\u6a29\u9650\u3067\u306a\u3051\u308c\u3070\u3044\u3051\u306a\u3044\u3002 \u65b9\u6cd51 \u4ed6\u306euser directory\u540d\u304c\u898b\u308c\u3066\u3082\u3044\u3044 \u4eca\u308f\u304b\u3063\u3066\u3044\u308b\u9650\u308a\u3067\u306f\u3053\u308c\u304c\u826f\u3055\u3052\u3002 sshd_config Match Group \u2026","blog_url":"https://hogem.hatenablog.com/","published":"2015-06-08 23:30:00","provider_url":"https://hatena.blog","width":"100%","blog_title":"\u3046\u307e\u3044\u307c\u3046\u3076\u308d\u3050","url":"https://hogem.hatenablog.com/entry/2015/06/08/233000","author_name":"hogem","image_url":null}