Commit graph

10 commits

Author SHA1 Message Date
Brennan Kinney
3064625368
fix: entrypoint.sh - Transfer PID1 to sshpiperd (#561) 2025-04-16 11:09:48 -07:00
Vlastimil Holer
2256c137c8
allow override sshpiperd container arguments (#216)
To be able to still execute the entrypoint (and any logic which is/will be
there), but completely override the sshpiperd arguments only. So,
customizing the plugins usage should be easy.

Example:

```
$ docker run --rm -it localhost/sshpiperd:test
INFO[0000] starting sshpiperd version: devel, fc6c3e1e9, 2023-08-30T14:31:06Z, go1.21.0
INFO[0000] generating host key /etc/ssh/ssh_host_ed25519_key
INFO[0000] found host keys [/etc/ssh/ssh_host_ed25519_key]
INFO[0000] loading host key /etc/ssh/ssh_host_ed25519_key
INFO[0000] starting child process plugin: [/sshpiperd/plugins/workingdir]
INFO[0000] sshpiperd is listening on: [::]:2222
^C
```

```
$ docker run --rm -it localhost/sshpiperd:test /sshpiperd/plugins/workingdir -- /sshpiperd/plugins/failtoban
INFO[0000] starting sshpiperd version: devel, fc6c3e1e9, 2023-08-30T14:31:06Z, go1.21.0
INFO[0000] generating host key /etc/ssh/ssh_host_ed25519_key
INFO[0000] found host keys [/etc/ssh/ssh_host_ed25519_key]
INFO[0000] loading host key /etc/ssh/ssh_host_ed25519_key
INFO[0000] starting child process plugin: [/sshpiperd/plugins/workingdir]
INFO[0000] starting child process plugin: [/sshpiperd/plugins/failtoban]
INFO[0000] sshpiperd is listening on: [::]:2222
^C
```
2023-08-30 10:44:37 -07:00
Boshi Lian
f5b9f7233f
add snap support (#189)
* embed keygen

* add snap

* add generate log
2023-08-11 06:25:58 -07:00
Vlastimil Holer
212ea3221b
fix entrypoint keygen key type to Ed25519 (#116) 2023-01-04 09:03:24 -08:00
Boshi Lian
740e31dffc
default to ed25519 (#111)
* s/rsa/ed25519/g

* s/rsakey/ed25519key/g

* ed25519 server key
2022-12-09 06:10:49 -08:00
Boshi Lian
5e9f689999 move e2e piper process manager to go code 2022-07-08 01:26:19 +00:00
Boshi Lian
b45652b305 faster docker build 2022-07-05 23:14:41 +00:00
Boshi Lian
4beede6d0b new dockerfile 2022-07-04 16:49:50 +00:00
Boshi Lian
2f79aec88a use alpine as runtime image 2019-01-07 11:49:05 +00:00
Boshi Lian
928c2ffd2b auto generate server key if not exists 2018-12-29 06:13:13 +00:00