code: fqa.9front.org

Download patch

ref: 8aefbebdc57d07b9c4d6661b6f00a5afbe9aff8d
parent: bbdf16a79df1dd3c9f1e4d0c9e84b27d2fddd841
author: sl <sl@stanleylieber.com>
date: Thu Apr 14 22:44:00 EDT 2022

fqa.ms, fqa8.ms: redact obsolete ssh clients (thanks, hiro)

--- a/fqa.ms
+++ b/fqa.ms
@@ -1359,26 +1359,6 @@
 8.4.6.1.2 - sshnet
 .ihtml a
 
-.ihtml a <a href="fqa8.html#8.4.6.2">
-8.4.6.2 - ssh2
-.ihtml a
-
-.ihtml a <a href="fqa8.html#8.4.6.3">
-8.4.6.3 - scpu
-.ihtml a
-
-.ihtml a <a href="fqa8.html#8.4.6.3.1">
-8.4.6.3.1 - Public Key Authentication
-.ihtml a
-
-.ihtml a <a href="fqa8.html#8.4.6.4">
-8.4.6.4 - OpenSSH
-.ihtml a
-
-.ihtml a <a href="fqa8.html#8.4.6.5">
-8.4.6.5 - sftpfs
-.ihtml a
-
 .ihtml a <a href="fqa8.html#8.4.6.5.1">
 8.4.6.5.1 - Mounting a remote u9fs share over SSH
 .ihtml a
--- a/fqa8.ms
+++ b/fqa8.ms
@@ -1352,94 +1352,8 @@
 Free Carrots #1: VNC over SSH
 .ihtml a
 
-.html - <a name="8.4.6.2" />
-.ihtml h4 <h4>
-.SH
-8.4.6.2 - ssh2
-.R
-.ihtml h4
+.FG rails jpg
 
-Programmers at
-.ihtml a <a href="http://www.coraid.com">
-Coraid
-.ihtml a
-created a Plan 9 native SSH2 client that was picked up (and completely rewritten) by Bell Labs. It is currently not included with 9front.
-.html - Download the Bell Labs version (pre-patched for 9front) here: <a href="http://plan9.stanleylieber.com/src/ssh2.tgz">ssh2.tgz</a>
-
-.B Note:
-There are bugs and expected features are missing. Consult the source.
-
-.html - <a name="8.4.6.3" />
-.ihtml h4 <h4>
-.SH
-8.4.6.3 - scpu
-.R
-.ihtml h4
-
-Two 9front users (taruti and mischief) worked on an SSH2 client written in the
-.ihtml a <a href="golang.html">
-Go programming language.
-.ihtml a
-It has been extended to work with Plan 9
-.ihtml a <a href="http://man.9front.org/4/factotum">
-factotum(4),
-.ihtml a
-but still does not fully honor complex Plan 9
-.ihtml a <a href="http://man.9front.org/2/dial">
-dial(2)
-.ihtml a
-strings.
-.html - Download it here: <a href="https://bitbucket.org/mischief/scpu">https://bitbucket.org/mischief/scpu</a>.
-
-.html - <a name="8.4.6.3.1" />
-.ihtml h4 <h4>
-.SH
-8.4.6.3.1 - Public Key Authentication
-.R
-.ihtml h4
-
-The
-.CW scpu
-command can be configured to use public key authentication:
-
-.P1
-auth/rsagen -t 'service=ssh' >$home/lib/ssh/key
-auth/rsa2ssh -2 $home/lib/ssh/key >$home/lib/ssh/key.pub
-# must be present before running scpu
-cat $home/lib/ssh/key >/mnt/factotum/ctl
-.P2
-
-Then add the contents of
-.CW $home/lib/ssh/key.pub
-to
-.CW $HOME/.ssh/authorized_keys
-on the remote host.
-
-.B Note:
-This same key may be used for multiple hosts.
-
-.html - <a name="8.4.6.4" />
-.ihtml h4 <h4>
-.SH
-8.4.6.4 - OpenSSH
-.R
-.ihtml h4
-
-Plan 9 user fgb ported OpenSSH 4.7p1, OpenSSL 0.9.8g 19 Oct 2007 to Plan 9. It is available in his contrib directory (on the Bell Labs server), or a 386 binary is available here (to install, unpack it over /):
-.ihtml a <a href="http://plan9.stanleylieber.com/pkg/386/openssh-2012.03.15.tbz">
-openssh.tgz.
-.ihtml a
-
-.html - <a name="8.4.6.5" />
-.ihtml h4 <h4>
-.SH
-8.4.6.5 - sftpfs
-.R
-.ihtml h4
-
-An implementation of sftpfs was created for Plan 9 that can work with either the native SSH clients or fgb's OpenSSH port.
-.html - Download it here: <a href="http://plan9.stanleylieber.com/src/sftpfs.tgz">sftpfs.tgz</a>
-
 .html - <a name="8.4.6.5.1" />
 .ihtml h5 <h5>
 .SH
@@ -1457,28 +1371,12 @@
 .ihtml a
 share. It is possible to mount such a share over SSH.
 
-With
-.CW ssh :
 .P1
 srv -s 5 -e \'ssh -u sl -h wm \'\'/usr/local/bin/u9fs \e
 	-u sl -na none\'\'\' wm /n/wm
 .P2
 
-With
-.CW ssh2 :
-.P1
-srv -s 5 -e \'ssh2 -l sl wm \'\'/usr/local/bin/u9fs \e
-	-u sl -na none\'\'\' wm /n/wm
-.P2
-
-With
-.CW scpu :
-.P1
-srv -s 5 -e \'scpu -u sl -h wm -c \e
-	\'\'/usr/local/bin/u9fs -u sl -na none\'\'\' wm /n/wm
-.P2
-
-In all cases, an SSH connection is opened to remote UNIX host
+An SSH connection is opened to remote UNIX host
 .CW wm ,
 logged in with user
 .CW sl