I'm trying to execute command, which requires superuser permissions on server. I've tried using both, sshcommand and ShellStream, but neither works.
The commands I am trying to run are:
sudo -s
password
mv /home/user1/file /home/user1/file-old
Any help would be greatly appreciated.
The commands I am trying to run are:
sudo -s
password
mv /home/user1/file /home/user1/file-old
Any help would be greatly appreciated.