Portable SSH Server
Find a file
2023-08-09 09:19:27 +09:00
.github build(deps): bump goreleaser/goreleaser-action from 2 to 4 (#1) 2023-08-09 09:17:41 +09:00
cmd support --unix-socket 2023-08-09 08:37:54 +09:00
main implement basic handy-sshd 2023-08-09 08:01:01 +09:00
version bump: 0.1.0 2023-08-09 08:58:16 +09:00
.goreleaser.yml implement basic handy-sshd 2023-08-09 08:01:01 +09:00
CHANGELOG.md bump: 0.1.0 2023-08-09 08:58:16 +09:00
go.mod implement basic handy-sshd 2023-08-09 08:01:01 +09:00
go.sum implement basic handy-sshd 2023-08-09 08:01:01 +09:00
LICENSE implement basic handy-sshd 2023-08-09 08:01:01 +09:00
pty_related_unix.go implement basic handy-sshd 2023-08-09 08:01:01 +09:00
pty_related_unsupported.go implement basic handy-sshd 2023-08-09 08:01:01 +09:00
README.md docs: "--help" 2023-08-09 09:19:27 +09:00
server.go implement basic handy-sshd 2023-08-09 08:01:01 +09:00

handy-sshd

Portable SSH Server

Examples

# Listen on 2222 and accept user name "john" with password "mypassword"
handy-sshd -p 2222 --user "john:mypassword"
# Listen on 2222 and accept user name "john" without password
handy-sshd -p 2222 --user "john:"
# Listen on 2222 and accept users "john" and "alice" without password
handy-sshd -p 2222 --user "john:" --user "alice:"
# Listen on unix domain socket
handy-sshd --unix-socket /tmp/my-unix-socket --user "john:"

--help

Portable SSH server

Usage:
  handy-sshd [flags]

Flags:
  -h, --help                 help for handy-sshd
      --host string          SSH server host (e.g. 127.0.0.1)
  -p, --port uint16          SSH server port (default 2222)
      --shell string         Shell
      --unix-socket string   Unix-domain socket
      --user stringArray     SSH user name (e.g. "john:mypassword")
  -v, --version              show version