mirror of
https://github.com/tailscale/tailscale.git
synced 2025-08-14 06:57:31 +00:00
tailcfg, ssh/tailssh: optionally support SSH public keys in wire policy
And clean up logging. Updates #3802 Change-Id: I756dc2d579a16757537142283d791f1d0319f4f0 Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:

committed by
Brad Fitzpatrick

parent
df9ce972c7
commit
da14e024a8
@@ -330,7 +330,7 @@ func (ss *sshSession) startWithPTY() (ptyFile *os.File, err error) {
|
||||
}
|
||||
k, ok := opcodeShortName[c]
|
||||
if !ok {
|
||||
ss.logf("unknown opcode: %d", c)
|
||||
ss.vlogf("unknown opcode: %d", c)
|
||||
continue
|
||||
}
|
||||
if _, ok := tios.CC[k]; ok {
|
||||
@@ -341,7 +341,7 @@ func (ss *sshSession) startWithPTY() (ptyFile *os.File, err error) {
|
||||
tios.Opts[k] = v > 0
|
||||
continue
|
||||
}
|
||||
ss.logf("unsupported opcode: %v(%d)=%v", k, c, v)
|
||||
ss.vlogf("unsupported opcode: %v(%d)=%v", k, c, v)
|
||||
}
|
||||
|
||||
// Save PTY settings.
|
||||
|
Reference in New Issue
Block a user