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)
|
destination := c.String(sshDestinationFlag)
|
||||||
if destination == "" {
|
if destination != "" {
|
||||||
return cli.ShowCommandHelp(c, "ssh")
|
headers.Add("CF-Access-SSH-Destination", destination)
|
||||||
}
|
}
|
||||||
headers.Add("CF-Access-SSH-Destination", destination)
|
|
||||||
|
|
||||||
options := &carrier.StartOptions{
|
options := &carrier.StartOptions{
|
||||||
OriginURL: originURL,
|
OriginURL: originURL,
|
||||||
|
Reference in New Issue
Block a user