<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>cloudfish</author_name>
  <author_url>https://blog.hatena.ne.jp/cloudfish/</author_url>
  <blog_title>cloudfishのブログ</blog_title>
  <blog_url>https://cloudfish.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>chrootの設定でかなりハマったので、今回はその内容をまとめたいと思います。 実現したいこと sftp_userの接続時のホームディレクトリを「/home/sftp_user/home_dir」に制限したい。 意図は、bash_profile、bash_history、.sshなどをsftp接続ユーザーに見せたくないため 設定方法 ユーザー追加 useradd sftp_user passwd sftp_user /etc/ssh/sshd_configの設定変更 #Subsystem sftp /usr/libexec/openssh/sftp-server Subsystem sftp …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcloudfish.hatenablog.com%2Fentry%2F2015%2F11%2F30%2F003614&quot; title=&quot;chrootの設定でハマった話【cloudpack 大阪 BLOG】 - cloudfishのブログ&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-11-30 00:36:14</published>
  <title>chrootの設定でハマった話【cloudpack 大阪 BLOG】</title>
  <type>rich</type>
  <url>https://cloudfish.hatenablog.com/entry/2015/11/30/003614</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
