Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

treehouses ssh 2fa better help and tabcompletion (fixes #2297) #2298

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ apchannel [channel] sets or prints the current ap channel
timezone <timezone> sets the timezone of the system
locale <locale> sets the system locale
ssh [on|off|fingerprint] enables or disables the ssh service,
[2fa] <add|enable|disable> prints out fingerprint of the ssh daemon
<remove|show> and deals with two factor authentication
[2fa] <add|remove|enable|disable> prints out fingerprint of the ssh daemon
<show|list> 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 <country> sets the wifi country
Expand Down
1 change: 1 addition & 0 deletions _treehouses
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions modules/help.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ apchannel [channel] sets or prints the current ap channel
timezone <timezone> sets the timezone of the system
locale <locale> sets the system locale
ssh [on|off|fingerprint] enables or disables the ssh service,
[2fa] <add|enable|disable> prints out fingerprint of the ssh daemon
<remove|show> and deals with two factor authentication
[2fa] <add|remove|enable|disable> prints out fingerprint of the ssh daemon
<show|list> 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 <country> sets the wifi country
Expand Down
3 changes: 3 additions & 0 deletions modules/ssh.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 <user>"
echo " Show ssh 2fa status of a user."
echo
echo " $BASENAME ssh 2fa list"
echo " List ssh 2fa status of every user."
echo
Expand Down