<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hogem</author_name>
  <author_url>https://blog.hatena.ne.jp/hogem/</author_url>
  <blog_title>うまいぼうぶろぐ</blog_title>
  <blog_url>https://hogem.hatenablog.com/</blog_url>
  <categories>
    <anon>linux</anon>
    <anon>ssh</anon>
  </categories>
  <description>参考 https://en.wikibooks.org/wiki/OpenSSH/Cookbook/SFTP#Chrooted_SFTP-only_Accounts 設定があまり複雑でなくて、色々な落としどころ求めたらこうなった。利用するのはopenssh。 opensshのMatch User(Group)とChrootDirectoryを使えばいいけど、 opensshの仕様により、ChrootDirectoryはroot権限でなければいけない。 方法1 他のuser directory名が見れてもいい 今わかっている限りではこれが良さげ。 sshd_config Match Group …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhogem.hatenablog.com%2Fentry%2F2015%2F06%2F08%2F233000&quot; title=&quot;openssh chrootかつsftpだけ利用できる環境を構築する - うまいぼうぶろぐ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-06-08 23:30:00</published>
  <title>openssh chrootかつsftpだけ利用できる環境を構築する</title>
  <type>rich</type>
  <url>https://hogem.hatenablog.com/entry/2015/06/08/233000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
