From 630eb4d6a5018923c023e35bb2f26e41d8fce3ca Mon Sep 17 00:00:00 2001 From: yibo <7483137+xyb994@users.noreply.github.com> Date: Tue, 25 Jun 2024 14:48:16 -0400 Subject: [PATCH 1/4] Update ssh.sh --- modules/ssh.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/ssh.sh b/modules/ssh.sh index 1989ca12cd..7b4dafa919 100644 --- a/modules/ssh.sh +++ b/modules/ssh.sh @@ -148,6 +148,9 @@ function ssh_help { echo " $BASENAME ssh 2fa enable/disable" echo " Enable/Disable two factor authentication for SSH service." echo + echo " $BASENAME ssh 2fa show " + echo " Show ssh 2fa status of a user." + echo echo " $BASENAME ssh 2fa list" echo " List ssh 2fa status of every user." echo From 1c6b316102e618cb8f27e5b582c8dd15add8f908 Mon Sep 17 00:00:00 2001 From: yibo <7483137+xyb994@users.noreply.github.com> Date: Tue, 25 Jun 2024 14:50:15 -0400 Subject: [PATCH 2/4] Update help.sh --- modules/help.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/help.sh b/modules/help.sh index 6fc2891783..3d6bbbb4d0 100644 --- a/modules/help.sh +++ b/modules/help.sh @@ -38,8 +38,8 @@ apchannel [channel] sets or prints the current ap channel timezone sets the timezone of the system locale sets the system locale ssh [on|off|fingerprint] enables or disables the ssh service, - [2fa] prints out fingerprint of the ssh daemon - and deals with two factor authentication + [2fa] prints out fingerprint of the ssh daemon + and deals with two factor authentication vnc [on|off|info|auth|password] enables or disables the vnc server service default [network|notice|tunnel] sets a raspbian back to default configuration wificountry sets the wifi country From 7dc312c79f7e5df8f0fcccd12463cf80638e626f Mon Sep 17 00:00:00 2001 From: yibo <7483137+xyb994@users.noreply.github.com> Date: Tue, 25 Jun 2024 15:10:55 -0400 Subject: [PATCH 3/4] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 91630f1d0e..8bdf89692d 100644 --- a/README.md +++ b/README.md @@ -62,8 +62,8 @@ apchannel [channel] sets or prints the current ap channel timezone sets the timezone of the system locale sets the system locale ssh [on|off|fingerprint] enables or disables the ssh service, - [2fa] prints out fingerprint of the ssh daemon - and deals with two factor authentication + [2fa] prints out fingerprint of the ssh daemon + and deals with two factor authentication vnc [on|off|info|auth|password] enables or disables the vnc server service default [network|notice|tunnel] sets a raspbian back to default configuration wificountry sets the wifi country From e65001939a96e23cfb2f94df0939fa566d0e59ac Mon Sep 17 00:00:00 2001 From: yibo <7483137+xyb994@users.noreply.github.com> Date: Tue, 25 Jun 2024 15:20:52 -0400 Subject: [PATCH 4/4] Update _treehouses --- _treehouses | 1 + 1 file changed, 1 insertion(+) diff --git a/_treehouses b/_treehouses index 26eb3835b6..dda5c0bf10 100644 --- a/_treehouses +++ b/_treehouses @@ -342,6 +342,7 @@ treehouses ssh 2fa disable treehouses ssh 2fa enable treehouses ssh 2fa remove treehouses ssh 2fa show +treehouses ssh 2fa list treehouses ssh fingerprint treehouses ssh off treehouses ssh on