53 Commits (cd4c71c1225aa6703b0766d1cde6b34c67a87dd6)

Author SHA1 Message Date
Joe Tsai 61886e031e
ssh/tailssh: fix double race condition with non-pty command (#8405)
3 years ago
Brad Fitzpatrick 32b8f25ed1 Revert "ssh/tailssh: change to user directory when running login/command"
3 years ago
Derek Burdick dc5bc32d8f ssh/tailssh: change to user directory when running login/command
3 years ago
Maisem Ali 2ae670eb71 ssh/tailssh: work around lack of scontext in SELinux
3 years ago
Maisem Ali 0ca8bf1e26 ssh/tailssh: close tty on session close
3 years ago
Brad Fitzpatrick a743b66f9d ssh/tailssh: move some user-related code into new user.go
3 years ago
Brad Fitzpatrick 58ab66ec51 ssh/tailssh: support LDAP users for Tailscale SSH
3 years ago
Andrew Dunham 280255acae
various: add golangci-lint, fix issues (#7905)
3 years ago
Brad Fitzpatrick 2c0bda6e2e ssh/tailssh: make Tailscale SSH work on gokrazy
3 years ago
Andrew Dunham 13377e6458 ssh/tailssh: always assert our final uid/gid
3 years ago
Andrew Dunham 9de8287d47 ssh/tailssh: lock OS thread during incubator
3 years ago
Andrew Dunham 39b289578e ssh/tailssh: make uid an int instead of uint64
3 years ago
Andrew Dunham ccace1f7df ssh/tailssh: fix privilege dropping on FreeBSD; add tests
3 years ago
Maisem Ali 223713d4a1 tailcfg,all: add and use Node.IsTagged()
3 years ago
Maisem Ali 0582829e00 ssh/tailssh: try launching commands with /usr/bin/login on macOS
3 years ago
Maisem Ali 5787989d74 ssh/tailssh: detect user shell correctly on darwin
3 years ago
Brad Fitzpatrick b1248442c3 all: update to Go 1.20, use strings.CutPrefix/Suffix instead of our fork
3 years ago
Will Norris 71029cea2d all: update copyright and license headers
3 years ago
Brad Fitzpatrick 1116602d4c ssh/tailssh: add OpenBSD support for Tailscale SSH
3 years ago
Brad Fitzpatrick be67b8e75b ssh/tailssh: fix Tailscale SSH to non-root tailscaled
3 years ago
Brad Fitzpatrick 8047dfa2dc ssh/tailssh: unify some of the incubator_* GOOS files into incubator.go
3 years ago
Brad Fitzpatrick 84eaef0bbb ssh/tailssh: don't swallow process exit code in be-child
3 years ago
Brad Fitzpatrick 651e0d8aad ssh/tailssh: add envknob for default PATH
3 years ago
Brad Fitzpatrick 56f7da0cfd
ssh/tailssh: set default Tailscale SSH $PATH for non-interactive commands
3 years ago
Pat Maddox 9bf3ef4167 ssh/tailssh: add Tailscale SSH (server) support on FreeBSD
4 years ago
Brad Fitzpatrick da8def8e13 all: remove old +build tags
4 years ago
Maisem Ali 1440742a1c ssh/tailssh: use root / as cmd.Dir when users HomeDir doesn't exist
4 years ago
Maisem Ali f16b77de5d ssh/tailssh: do the full auth flow during ssh auth
4 years ago
Josh Soref d4811f11a0 all: fix spelling mistakes
4 years ago
Brad Fitzpatrick 7eaf5e509f net/netaddr: start migrating to net/netip via new netaddr adapter package
4 years ago
Maisem Ali 480fd6c797 ssh/tailssh: handle not-authenticated-yet connections in matchRule
4 years ago
Maisem Ali af412e8874 ssh/tailssh: better handling of signals and exits
4 years ago
Adam Eijdenberg 9294a14a37 ssh/tailssh: limit setgroups to 16 on macOS
4 years ago
Adam Eijdenberg 7f807fef6c ssh/tailssh: fix /usr/bin/login args on macOS
4 years ago
Maisem Ali 760740905e ssh/tailssh: only use `login` with TTY sessions
4 years ago
Maisem Ali 5cd56fe8d5 ssh/tailssh: exec into `login` when launching a shell
4 years ago
Maisem Ali a253057fc3 ssh/tailssh: refactor incubator flags
4 years ago
David Anderson a364bf2b62 ssh/tailssh: various typo fixes, clarifications.
4 years ago
Maisem Ali 337c77964b ssh/tailssh: set groups and gid in the incubated process
4 years ago
Brad Fitzpatrick 8ac4d52b59 ssh/tailssh: filter accepted environment variables
4 years ago
Maisem Ali 695f8a1d7e ssh/tailssh: add support for sftp
4 years ago
Maisem Ali 2b8b887d55 ssh/tailssh: send banner messages during auth, move more to conn
4 years ago
Brad Fitzpatrick da14e024a8 tailcfg, ssh/tailssh: optionally support SSH public keys in wire policy
4 years ago
Brad Fitzpatrick 5a44f9f5b5 tempfork: temporarily fork gliderlabs/ssh and x/crypto/ssh
4 years ago
Maisem Ali 98b45ef12c ssh/tailssh: add support for agent forwarding.
4 years ago
Brad Fitzpatrick 6e86bbcb06 ssh/tailssh: add a new sshSession type to clean up existing+future code
4 years ago
Maisem Ali bf3559171f ssh/tailssh: set DBUS_SESSION_BUS_ADDRESS and SSH_TTY variables
4 years ago
Maisem Ali 6d61b7906e ssh/tailssh: handle terminal opcodes
4 years ago
Maisem Ali da6ce27416 go.mod: move from github.com/gliderlabs/ssh to github.com/tailscale/ssh
4 years ago
Brad Fitzpatrick ba1adf6c24 ssh/tailssh: make pty termios options match OpenSSH
4 years ago