Skip to content

Commit

Permalink
Fix scp relogin. (#49304)
Browse files Browse the repository at this point in the history
  • Loading branch information
Joerger authored Nov 21, 2024
1 parent 7029b0c commit 3f2ac1e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tool/tsh/common/tsh.go
Original file line number Diff line number Diff line change
Expand Up @@ -1027,6 +1027,7 @@ func Run(ctx context.Context, args []string, opts ...CliOption) error {
scp.Flag("preserve", "Preserves access and modification times from the original file").Short('p').BoolVar(&cf.PreserveAttrs)
scp.Flag("quiet", "Quiet mode").Short('q').BoolVar(&cf.Quiet)
scp.Flag("no-resume", "Disable SSH connection resumption").Envar(noResumeEnvVar).BoolVar(&cf.DisableSSHResumption)
scp.Flag("relogin", "Permit performing an authentication attempt on a failed command").Default("true").BoolVar(&cf.Relogin)
// ls
ls := app.Command("ls", "List remote SSH nodes.")
ls.Flag("cluster", clusterHelp).Short('c').StringVar(&cf.SiteName)
Expand Down

0 comments on commit 3f2ac1e

Please sign in to comment.