Switch authorized_keys example from ssh-dss to ssh-rsa since the former
authordtucker <dtucker@openbsd.org>
Sun, 22 Jul 2018 12:16:59 +0000 (12:16 +0000)
committerdtucker <dtucker@openbsd.org>
Sun, 22 Jul 2018 12:16:59 +0000 (12:16 +0000)
is no longer enabled by default.  Pointed out by Daniel A. Maierhofer,
ok jmc

usr.bin/ssh/sshd.8

index 1ce53d0..a2f93f7 100644 (file)
@@ -33,8 +33,8 @@
 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\"
-.\" $OpenBSD: sshd.8,v 1.303 2018/06/19 05:36:57 jmc Exp $
-.Dd $Mdocdate: June 19 2018 $
+.\" $OpenBSD: sshd.8,v 1.304 2018/07/22 12:16:59 dtucker Exp $
+.Dd $Mdocdate: July 22 2018 $
 .Dt SSHD 8
 .Os
 .Sh NAME
@@ -617,11 +617,11 @@ An example authorized_keys file:
 ssh-rsa AAAAB3Nza...LiPk== user@example.net
 from="*.sales.example.net,!pc.sales.example.net" ssh-rsa
 AAAAB2...19Q== john@example.net
-command="dump /home",no-pty,no-port-forwarding ssh-dss
+command="dump /home",no-pty,no-port-forwarding ssh-rsa
 AAAAC3...51R== example.net
-permitopen="192.0.2.1:80",permitopen="192.0.2.2:25" ssh-dss
+permitopen="192.0.2.1:80",permitopen="192.0.2.2:25" ssh-rsa
 AAAAB5...21S==
-permitlisten="localhost:8080",permitopen="localhost:22000" ssh-dss
+permitlisten="localhost:8080",permitopen="localhost:22000" ssh-rsa
 AAAAB5...21S==
 tunnel="0",command="sh /etc/netstart tun0" ssh-rsa AAAA...==
 jane@example.net