Skip to content

cmd/tailcat: add -i identity file flag to ssh and cp - #177

Merged
bradfitz merged 1 commit into
tailscale:mainfrom
semmi88:ssh-use-identity-file
Nov 18, 2026
Merged

bradfitz merged 1 commit into
tailscale:mainfrom
semmi88:ssh-use-identity-file

Conversation

@semmi88

@semmi88 semmi88 commented Nov 17, 2026

Copy link
Copy Markdown

cmd/tailcat: add -i identity file flag to ssh and cp
Possible implementation for #174

Testing

  • static checker and tests pass ✅
go vet ./... && go test ./... -count=1
  • manual testing
go run ./cmd/tailcat serve --ssh-authorized-keys=key.pub ssh 

go run ./cmd/tailcat ssh -i key tc_address
echo $TAILCAT_PEER_KEY   # set only inside a tailcat session; prints your client's nodekey:...
exit

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@bradfitz
bradfitz merged commit e5b84fd into tailscale:main Nov 18, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants