Skip to content

Commit a762499

Browse files
xyb994dogi
andauthored
treehouses ssh 2fa list help (fixes #2297) (#2298)
Co-authored-by: dogi <dogi@users.noreply.github.com>
1 parent 3050195 commit a762499

File tree

5 files changed

+9
-5
lines changed

5 files changed

+9
-5
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ apchannel [channel] sets or prints the current ap channel
6262
timezone <timezone> sets the timezone of the system
6363
locale <locale> sets the system locale
6464
ssh [on|off|fingerprint] enables or disables the ssh service,
65-
[2fa] <add|enable|disable> prints out fingerprint of the ssh daemon
66-
<remove|show> and deals with two factor authentication
65+
[2fa] <add|remove|enable|disable> prints out fingerprint of the ssh daemon
66+
<show|list> and deals with two factor authentication
6767
vnc [on|off|info|auth|password] enables or disables the vnc server service
6868
default [network|notice|tunnel] sets a raspbian back to default configuration
6969
wificountry <country> sets the wifi country

_treehouses

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,7 @@ treehouses ssh 2fa disable
342342
treehouses ssh 2fa enable
343343
treehouses ssh 2fa remove
344344
treehouses ssh 2fa show
345+
treehouses ssh 2fa list
345346
treehouses ssh fingerprint
346347
treehouses ssh off
347348
treehouses ssh on

modules/help.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ apchannel [channel] sets or prints the current ap channel
3838
timezone <timezone> sets the timezone of the system
3939
locale <locale> sets the system locale
4040
ssh [on|off|fingerprint] enables or disables the ssh service,
41-
[2fa] <add|enable|disable> prints out fingerprint of the ssh daemon
42-
<remove|show> and deals with two factor authentication
41+
[2fa] <add|remove|enable|disable> prints out fingerprint of the ssh daemon
42+
<show|list> and deals with two factor authentication
4343
vnc [on|off|info|auth|password] enables or disables the vnc server service
4444
default [network|notice|tunnel] sets a raspbian back to default configuration
4545
wificountry <country> sets the wifi country

modules/ssh.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,9 @@ function ssh_help {
148148
echo " $BASENAME ssh 2fa enable/disable"
149149
echo " Enable/Disable two factor authentication for SSH service."
150150
echo
151+
echo " $BASENAME ssh 2fa show <user>"
152+
echo " Show ssh 2fa status of a user."
153+
echo
151154
echo " $BASENAME ssh 2fa list"
152155
echo " List ssh 2fa status of every user."
153156
echo

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@treehouses/cli",
3-
"version": "1.26.18",
3+
"version": "1.26.19",
44
"remote": "6000",
55
"description": "Thin command-line interface for Raspberry Pi low level configuration.",
66
"main": "cli.sh",

0 commit comments

Comments
 (0)