[wicket] add an upload command#2165
Conversation
Created using spr 1.3.4
…file Created using spr 1.3.4
andrewjstone
left a comment
There was a problem hiding this comment.
Looks great. Thanks for fixing the logging too!
|
When we look at locking down the sshd configuration we might want to consider not doing the login shell pattern, but rather using the sshd configuration directive |
Good point! I don't have a sense of which one's better, but if we decide to do that we can switch over to it pretty easily. |
This reverts commit fca38b8.
Add a command that can upload data to wicketd, via stdin from wicket. This also makes wicket behave like a login shell: read arguments passed in with `-c`. Tested by creating a user locally with wicket as the login shell, then running: ``` % cat foo.bin | ssh wicket-test@localhost upload my-artifact 0.1.0 Jan 13 22:12:25.946 INFO read artifact my-artifact:0.1.0 (11957848 bytes) from stdin, uploading to wicketd Jan 13 22:12:25.972 INFO successfully uploaded my-artifact:0.1.0 (11957848 bytes) to wicketd ```
Add a command that can upload data to wicketd, via stdin from wicket.
This also makes wicket behave like a login shell: read arguments passed
in with
-c.Tested by creating a user locally with wicket as the login shell, then
running: