mirror of
https://github.com/cloudflare/cloudflared.git
synced 2025-07-27 20:39:57 +00:00
AUTH-2105: Dont require --destination arg
This commit is contained in:
@@ -35,10 +35,9 @@ func ssh(c *cli.Context) error {
|
||||
}
|
||||
|
||||
destination := c.String(sshDestinationFlag)
|
||||
if destination == "" {
|
||||
return cli.ShowCommandHelp(c, "ssh")
|
||||
}
|
||||
if destination != "" {
|
||||
headers.Add("CF-Access-SSH-Destination", destination)
|
||||
}
|
||||
|
||||
options := &carrier.StartOptions{
|
||||
OriginURL: originURL,
|
||||
|
Reference in New Issue
Block a user