kola/devshell: say when we're starting SSH
Add a status message just before starting SSH. Set the carriage back to
the start of the line so it'll still get overwritten by the welcome
banner.
@@ -506,6 +506,7 @@ func (sc *sshClient) start() {
sshArgs = append(sshArgs, "--", sc.cmd)
}
fmt.Printf("\033[2K\r") // clear serial console line
+ fmt.Printf("[SESSION] Starting SSH\r") // and stage a status msg which will be erased
sshCmd := exec.Command(sshArgs[0], sshArgs[1:]...)
sshCmd.Stdin = os.Stdin
sshCmd.Stdout = os.Stdout
