Skip to content

main: Add --unsafe-passphrase#342

Merged
shazow merged 4 commits intomasterfrom
unsafe-password
Apr 16, 2020
Merged

main: Add --unsafe-passphrase#342
shazow merged 4 commits intomasterfrom
unsafe-password

Conversation

@shazow
Copy link
Copy Markdown
Owner

@shazow shazow commented Apr 15, 2020

Fixes #288

Looks like this:

image

Updated usage:

Usage:
  ssh-chat [OPTIONS]

Application Options:
  -v, --verbose            Show verbose logging.
      --version            Print version and exit.
  -i, --identity=          Private key to identify server with. (default: ~/.ssh/id_rsa)
      --bind=              Host and port to listen on. (default: 0.0.0.0:2022)
      --admin=             File of public keys who are admins.
      --whitelist=         Optional file of public keys who are allowed to connect.
      --motd=              Optional Message of the Day file.
      --log=               Write chat log to this file.
      --pprof=             Enable pprof http server for profiling.

Help Options:
  -h, --help               Show this help message

There are hidden options and easter eggs in ssh-chat. The source code is a good
place to start looking. Some useful links:

* Project Repository:
  https://github.com/shazow/ssh-chat
* Project Wiki FAQ:
  https://github.com/shazow/ssh-chat/wiki/FAQ
* Command Flags Declaration:
  https://github.com/shazow/ssh-chat/blob/master/cmd/ssh-chat/cmd.go#L29

A little sad about the length of --unsafe-passphrase but I feel it's worth it.

Also kinda wanna make it a hidden option (documented in the wiki), what do people think of that?

@shazow shazow merged commit adef8d6 into master Apr 16, 2020
@shazow shazow deleted the unsafe-password branch April 16, 2020 16:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add --unsafe-passphrase authentication option

2 participants