Repos / hi.imnhan.com / fbc85a9b87
commit fbc85a9b87647db7e0ed72509701b31188752b51
Author: Nhân <hi@imnhan.com>
Date: Tue Sep 19 14:53:30 2023 +0700
notes: sshd: add link to Arch wiki
diff --git a/notes.dj b/notes.dj
index 95046a0..70198df 100644
--- a/notes.dj
+++ b/notes.dj
@@ -3,7 +3,9 @@ PostedAt: 2023-09-18 23:21
ShowInFeed: false
---
-## sftp/sshfs only
+## sftp/sshfs only ssh config
+
+Useful for, say, a static web hosting service that deploys via rsync.
Per [Hacker News](https://news.ycombinator.com/item?id=37390184#37427965):
@@ -19,3 +21,5 @@ Per [Hacker News](https://news.ycombinator.com/item?id=37390184#37427965):
> GatewayPorts no
> X11Forwarding no
> ```
+
+See also: <https://wiki.archlinux.org/title/SFTP_chroot>
diff --git a/notes.html b/notes.html
index 6159d97..174aa41 100644
--- a/notes.html
+++ b/notes.html
@@ -40,8 +40,9 @@
<h1>Notes</h1>
-<section id="sftp-sshfs-only">
-<h2>sftp/sshfs only<a href="#sftp-sshfs-only" class="heading-link">#</a></h2>
+<section id="sftp-sshfs-only-ssh-config">
+<h2>sftp/sshfs only ssh config<a href="#sftp-sshfs-only-ssh-config" class="heading-link">#</a></h2>
+<p>Useful for, say, a static web hosting service that deploys via rsync.</p>
<p>Per <a href="https://news.ycombinator.com/item?id=37390184#37427965">Hacker News</a>:</p>
<blockquote>
<p>If the user account is only supposed to have file transfer capabilities/no
@@ -55,6 +56,7 @@ <h2>sftp/sshfs only<a href="#sftp-sshfs-only" class="heading-link">#</a></h2>
X11Forwarding no
</code></pre>
</blockquote>
+<p>See also: <a href="https://wiki.archlinux.org/title/SFTP_chroot">https://wiki.archlinux.org/title/SFTP_chroot</a></p>
</section>
</main>