From 563c5e459c2f41f006f29867181cd4ac3923e8ea Mon Sep 17 00:00:00 2001 From: BRONSOLO Date: Fri, 9 Feb 2024 13:22:45 -0500 Subject: [PATCH 1/6] update readme for Plotly --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 70eb8f9..2a401fc 100644 --- a/README.md +++ b/README.md @@ -2,15 +2,19 @@ [![CircleCI](https://img.shields.io/circleci/project/gliderlabs/sshfront/release.svg)](https://circleci.com/gh/gliderlabs/sshfront) [![IRC Channel](https://img.shields.io/badge/irc-%23gliderlabs-blue.svg)](https://kiwiirc.com/client/irc.freenode.net/#gliderlabs) - +: A lightweight SSH server frontend where authentication and connections are controlled with command handlers / shell scripts. +## Plotly Updates + +Forked repo to make early release of latest upstream changes. + ## Using sshfront Usage: ./sshfront [options] - + -a="": authentication hook. empty=allow all -d=false: debug mode -e=false: pass environment to handler From 087cb2c1d5ff49175045ac7a149d2529a1fa3af8 Mon Sep 17 00:00:00 2001 From: BRONSOLO Date: Thu, 2 May 2024 14:58:43 -0400 Subject: [PATCH 2/6] 5.3-sp.1 version bumps --- go.mod | 11 ++++------- go.sum | 16 ++++++---------- 2 files changed, 10 insertions(+), 17 deletions(-) diff --git a/go.mod b/go.mod index 0e19ab2..9549d8f 100644 --- a/go.mod +++ b/go.mod @@ -1,14 +1,11 @@ module github.com/gliderlabs/sshfront -go 1.21.3 +go 1.21 require ( + github.com/creack/pty v1.1.21 github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568 - github.com/kr/pty v1.1.8 - golang.org/x/crypto v0.16.0 + golang.org/x/crypto v0.21.0 ) -require ( - github.com/creack/pty v1.1.21 // indirect - golang.org/x/sys v0.15.0 // indirect -) +require golang.org/x/sys v0.18.0 // indirect diff --git a/go.sum b/go.sum index c9961f1..ca6f755 100644 --- a/go.sum +++ b/go.sum @@ -1,14 +1,10 @@ -github.com/creack/pty v1.1.7 h1:6pwm8kMQKCmgUg0ZHTm5+/YvRK0s3THD/28+T6/kk4A= -github.com/creack/pty v1.1.7/go.mod h1:lj5s0c3V2DBrqTV7llrYr5NG6My20zk30Fl46Y7DoTY= github.com/creack/pty v1.1.21 h1:1/QdRyBaHHJP61QkWMXlOIBfsgdDeeKfK8SYVUWJKf0= github.com/creack/pty v1.1.21/go.mod h1:MOBLtS5ELjhRRrroQr9kyvTxUAFNvYEK993ew/Vr4O4= github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568 h1:BHsljHzVlRcyQhjrss6TZTdY2VfCqZPbv5k3iBFa2ZQ= github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568/go.mod h1:xEzjJPgXI435gkrCt3MPfRiAkVrwSbHsst4LCFVfpJc= -github.com/kr/pty v1.1.8 h1:AkaSdXYQOWeaO3neb8EM634ahkXXe3jYbVh/F9lq+GI= -github.com/kr/pty v1.1.8/go.mod h1:O1sed60cT9XZ5uDucP5qwvh+TE3NnUj51EiZO/lmSfw= -golang.org/x/crypto v0.16.0 h1:mMMrFzRSCF0GvB7Ne27XVtVAaXLrPmgPC7/v0tkwHaY= -golang.org/x/crypto v0.16.0/go.mod h1:gCAAfMLgwOJRpTjQ2zCCt2OcSfYMTeZVSRtQlPC7Nq4= -golang.org/x/sys v0.15.0 h1:h48lPFYpsTvQJZF4EKyI4aLHaev3CxivZmv7yZig9pc= -golang.org/x/sys v0.15.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/term v0.15.0 h1:y/Oo/a/q3IXu26lQgl04j/gjuBDOBlx7X6Om1j2CPW4= -golang.org/x/term v0.15.0/go.mod h1:BDl952bC7+uMoWR75FIrCDx79TPU9oHkTZ9yRbYOrX0= +golang.org/x/crypto v0.21.0 h1:X31++rzVUdKhX5sWmSOFZxx8UW/ldWx55cbf08iNAMA= +golang.org/x/crypto v0.21.0/go.mod h1:0BP7YvVV9gBbVKyeTG0Gyn+gZm94bibOW5BjDEYAOMs= +golang.org/x/sys v0.18.0 h1:DBdB3niSjOA/O0blCZBqDefyWNYveAYMNF1Wum0DYQ4= +golang.org/x/sys v0.18.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/term v0.18.0 h1:FcHjZXDMxI8mM3nwhX9HlKop4C0YQvCVCdwYl2wOtE8= +golang.org/x/term v0.18.0/go.mod h1:ILwASektA3OnRv7amZ1xhE/KTR+u50pbXfZ03+6Nx58= From 3d4f5c9d56c83a85766ea0cbdf50b4d8aa9153c3 Mon Sep 17 00:00:00 2001 From: BRONSOLO Date: Thu, 2 May 2024 14:59:11 -0400 Subject: [PATCH 3/6] fix module name for fork --- go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go.mod b/go.mod index 9549d8f..410e0fa 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/gliderlabs/sshfront +module github.com/plotly/sshfront go 1.21 From 0e5d818137e51e873d0beca529861afb0f7ac0f9 Mon Sep 17 00:00:00 2001 From: Obanby Date: Fri, 31 May 2024 10:19:17 -0400 Subject: [PATCH 4/6] chore: upgrade go version - Upgrade go version to 1.22.3 - Fix import statment for internal packages --- .gitignore | 2 ++ cmd/sshfront/sshfront.go | 2 +- go.mod | 9 ++++++--- go.sum | 3 +++ 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 9b1b0db..0fb3e9a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ execd build release + +.idea \ No newline at end of file diff --git a/cmd/sshfront/sshfront.go b/cmd/sshfront/sshfront.go index 585dbdc..7b02cfe 100644 --- a/cmd/sshfront/sshfront.go +++ b/cmd/sshfront/sshfront.go @@ -3,7 +3,7 @@ package main import ( "flag" "fmt" - . "github.com/gliderlabs/sshfront/internal" + . "github.com/plotly/sshfront/internal" "log" "net" "os" diff --git a/go.mod b/go.mod index 410e0fa..22f8c25 100644 --- a/go.mod +++ b/go.mod @@ -1,11 +1,14 @@ module github.com/plotly/sshfront -go 1.21 +go 1.22.3 require ( - github.com/creack/pty v1.1.21 github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568 + github.com/kr/pty v1.1.8 golang.org/x/crypto v0.21.0 ) -require golang.org/x/sys v0.18.0 // indirect +require ( + github.com/creack/pty v1.1.21 // indirect + golang.org/x/sys v0.18.0 // indirect +) diff --git a/go.sum b/go.sum index ca6f755..20788fc 100644 --- a/go.sum +++ b/go.sum @@ -1,7 +1,10 @@ +github.com/creack/pty v1.1.7/go.mod h1:lj5s0c3V2DBrqTV7llrYr5NG6My20zk30Fl46Y7DoTY= github.com/creack/pty v1.1.21 h1:1/QdRyBaHHJP61QkWMXlOIBfsgdDeeKfK8SYVUWJKf0= github.com/creack/pty v1.1.21/go.mod h1:MOBLtS5ELjhRRrroQr9kyvTxUAFNvYEK993ew/Vr4O4= github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568 h1:BHsljHzVlRcyQhjrss6TZTdY2VfCqZPbv5k3iBFa2ZQ= github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568/go.mod h1:xEzjJPgXI435gkrCt3MPfRiAkVrwSbHsst4LCFVfpJc= +github.com/kr/pty v1.1.8 h1:AkaSdXYQOWeaO3neb8EM634ahkXXe3jYbVh/F9lq+GI= +github.com/kr/pty v1.1.8/go.mod h1:O1sed60cT9XZ5uDucP5qwvh+TE3NnUj51EiZO/lmSfw= golang.org/x/crypto v0.21.0 h1:X31++rzVUdKhX5sWmSOFZxx8UW/ldWx55cbf08iNAMA= golang.org/x/crypto v0.21.0/go.mod h1:0BP7YvVV9gBbVKyeTG0Gyn+gZm94bibOW5BjDEYAOMs= golang.org/x/sys v0.18.0 h1:DBdB3niSjOA/O0blCZBqDefyWNYveAYMNF1Wum0DYQ4= From 7b7d67e9bb8ac264674c2fc111e6fa95777dad4e Mon Sep 17 00:00:00 2001 From: Greg Wilson Date: Fri, 7 Jun 2024 13:48:16 -0400 Subject: [PATCH 5/6] Update README.md with "maintained by Plotly" badge --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 2a401fc..c2f036c 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,13 @@ A lightweight SSH server frontend where authentication and connections are controlled with command handlers / shell scripts. + + + ## Plotly Updates Forked repo to make early release of latest upstream changes. From 7d68ba7a388bd4378192954dd22a1f7f047f828e Mon Sep 17 00:00:00 2001 From: Greg Wilson Date: Fri, 13 Dec 2024 11:15:14 -0500 Subject: [PATCH 6/6] adding code of conduct --- CODE_OF_CONDUCT.md | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 CODE_OF_CONDUCT.md diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md new file mode 100644 index 0000000..bc83715 --- /dev/null +++ b/CODE_OF_CONDUCT.md @@ -0,0 +1,43 @@ +# Contributor Covenant Code of Conduct + +## Our Pledge + +In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation. + +## Our Standards + +Examples of behavior that contributes to creating a positive environment include: + +* Using welcoming and inclusive language +* Being respectful of differing viewpoints and experiences +* Gracefully accepting constructive criticism +* Focusing on what is best for the community +* Showing empathy towards other community members + +Examples of unacceptable behavior by participants include: + +* The use of sexualized language or imagery and unwelcome sexual attention or advances +* Trolling, insulting/derogatory comments, and personal or political attacks +* Public or private harassment +* Publishing others' private information, such as a physical or electronic address, without explicit permission +* Other conduct which could reasonably be considered inappropriate in a professional setting + +## Our Responsibilities + +Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior. + +Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful. + +## Scope + +This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers. + +## Enforcement + +Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at accounts@plot.ly. All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately. + +Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership. + +## Attribution + +This Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.4, available at [http://contributor-covenant.org/version/1/4](http://contributor-covenant.org/version/1/4/), and may also be found online at .