On Sun, 2016-04-24 at 20:23 +0300, Jouni Malinen wrote: > > - cmd = ["ssh", self.user + "@" + self.host, command] > + cmd = ["ssh", self.user + "@" + self.host, ' '.join(command)] Using cmd = ['ssh', self.user + '@' + self.host] + command should work. This essentially leaves any quotion/unquoting to ssh. Unfortunately, this really help - ssh uses the (login) shell on the remote side to execute the commands, and evidently can't be convinced to do anything else. johannes _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap