Skip to content

Commit

Permalink
fix incorrect ssh command
Browse files Browse the repository at this point in the history
  • Loading branch information
wxiaoguang committed Jun 18, 2023
1 parent f07c976 commit cc013bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/ssh/ssh.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func sessionHandler(session ssh.Session) {

log.Trace("SSH: Payload: %v", command)

args := []string{"serv", "key-" + keyID, "--config=" + setting.CustomConf}
args := []string{"--config=" + setting.CustomConf, "serv", "key-" + keyID}
log.Trace("SSH: Arguments: %v", args)

ctx, cancel := context.WithCancel(session.Context())
Expand Down

0 comments on commit cc013bb

Please sign in to comment.