ssh commands: fix parsing commands with space

For now we support "\" escaping style
This commit is contained in:
Nicola Murino
2020-02-08 23:33:06 +01:00
parent d6fa853a37
commit 7bfe0ddf80
4 changed files with 32 additions and 4 deletions

View File

@@ -56,6 +56,7 @@ func (c *scpCommand) handle() error {
}
} else {
err = fmt.Errorf("scp command not supported, args: %v", c.args)
c.connection.Log(logger.LevelDebug, logSenderSCP, "unsupported scp command, args: %v", c.args)
}
c.sendExitStatus(err)
return err