You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/ssh/tailssh
Brad Fitzpatrick 2f98197857 tempfork/sshtest/ssh: add fork of golang.org/x/crypto/ssh for testing only
This fork golang.org/x/crypto/ssh (at upstream x/crypto git rev e47973b1c1)
into tailscale.com/tempfork/sshtest/ssh so we can hack up the client in weird
ways to simulate other SSH clients seen in the wild.

Two changes were made to the files when they were copied from x/crypto:

* internal/poly1305 imports were replaced by the non-internal version;
  no code changes otherwise. It didn't need the internal one.
* all decode-with-passphrase funcs were deleted, to avoid
  using the internal package x/crypto/ssh/internal/bcrypt_pbkdf

Then the tests passed.

Updates #14969

Change-Id: Ibf1abebfe608c75fef4da0255314f65e54ce5077
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
10 months ago
..
testcontainers ssh/tailssh: only chdir incubator process to user's homedir when necessary and possible 1 year ago
accept_env.go ssh: Add logic to set accepted environment variables in SSH session (#13559) 1 year ago
accept_env_test.go ssh: Add logic to set accepted environment variables in SSH session (#13559) 1 year ago
incubator.go ssh: don't use -l option for shells on OpenBSD 10 months ago
incubator_linux.go ssh/tailssh: fall back to using su when no TTY available on Linux 2 years ago
privs_test.go ssh/tailssh: only chdir incubator process to user's homedir when necessary and possible 1 year ago
tailssh.go ssh,tempfork/gliderlabs/ssh: replace github.com/tailscale/golang-x-crypto/ssh with golang.org/x/crypto/ssh 10 months ago
tailssh_integration_test.go ssh,tempfork/gliderlabs/ssh: replace github.com/tailscale/golang-x-crypto/ssh with golang.org/x/crypto/ssh 10 months ago
tailssh_test.go tempfork/sshtest/ssh: add fork of golang.org/x/crypto/ssh for testing only 10 months ago
user.go types/result, util/lineiter: add package for a result type, use it 1 year ago