ide/cmdline: fix for remote shell commands