Skip to content

Commit cc013bb

Browse files
committed
fix incorrect ssh command
1 parent f07c976 commit cc013bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/ssh/ssh.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ func sessionHandler(session ssh.Session) {
6868

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

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

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

0 commit comments

Comments
 (0)