File tree Expand file tree Collapse file tree 5 files changed +9
-5
lines changed
Expand file tree Collapse file tree 5 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -62,8 +62,8 @@ apchannel [channel] sets or prints the current ap channel
6262timezone <timezone> sets the timezone of the system
6363locale <locale> sets the system locale
6464ssh [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
6767vnc [on|off|info|auth|password] enables or disables the vnc server service
6868default [network|notice|tunnel] sets a raspbian back to default configuration
6969wificountry <country> sets the wifi country
Original file line number Diff line number Diff line change @@ -342,6 +342,7 @@ treehouses ssh 2fa disable
342342treehouses ssh 2fa enable
343343treehouses ssh 2fa remove
344344treehouses ssh 2fa show
345+ treehouses ssh 2fa list
345346treehouses ssh fingerprint
346347treehouses ssh off
347348treehouses ssh on
Original file line number Diff line number Diff line change @@ -38,8 +38,8 @@ apchannel [channel] sets or prints the current ap channel
3838timezone <timezone> sets the timezone of the system
3939locale <locale> sets the system locale
4040ssh [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
4343vnc [on|off|info|auth|password] enables or disables the vnc server service
4444default [network|notice|tunnel] sets a raspbian back to default configuration
4545wificountry <country> sets the wifi country
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 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" ,
You can’t perform that action at this time.
0 commit comments