<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>cakephper</author_name>
  <author_url>https://blog.hatena.ne.jp/cakephper/</author_url>
  <blog_title>cakephperの日記(CakePHP, Laravel, PHP)</blog_title>
  <blog_url>https://cakephper.hatenadiary.org/</blog_url>
  <categories>
    <anon>サーバ</anon>
  </categories>
  <description>昔は、sshとftpをそれぞれ設定してサーバ管理者はsshログイン、コンテンツ更新者はftpログイン(chroot)という構成をしていました。 最近のsshdは、sftp + chrootという設定が可能なのでよくやってます。いつも設定方法を忘れるのでここにメモ。 ただ、古いSSHDだとこれが出来ないので注意してください。私はSSHD5.3でやってます。 古いSSHDしか入ってなくて、入れ替えが怖い場合は、別途SSHDをコンパイルして別ポートで立ち上げれば共存できます（./configure --prefix=/usr/local/sshd --with-pam ; make ; sudo m…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcakephper.hatenadiary.org%2Fentry%2F20120918%2F1347935609&quot; title=&quot; sshログインを禁止、sftpのみを許可してhome以上の階層に遷移させない設定 - cakephperの日記(CakePHP, Laravel, PHP)&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>2012-09-18 11:33:29</published>
  <title> sshログインを禁止、sftpのみを許可してhome以上の階層に遷移させない設定</title>
  <type>rich</type>
  <url>https://cakephper.hatenadiary.org/entry/20120918/1347935609</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
