ssh/tailssh: fix /usr/bin/login args on macOS
Fixes #4931 Signed-off-by: Adam Eijdenberg <adam@continusec.com>
This commit is contained in:

committed by
Brad Fitzpatrick

parent
35782f891d
commit
7f807fef6c
9
ssh/tailssh/incubator_darwin.go
Normal file
9
ssh/tailssh/incubator_darwin.go
Normal file
@ -0,0 +1,9 @@
|
||||
// Copyright (c) 2022 Tailscale Inc & AUTHORS All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
package tailssh
|
||||
|
||||
func (ia *incubatorArgs) loginArgs() []string {
|
||||
return []string{ia.loginCmdPath, "-fp", "-h", ia.remoteIP, ia.localUser}
|
||||
}
|
Reference in New Issue
Block a user