ssh root@remoteIP /usr/bin/ls #### system("ssh root@remoteIP /usr/bin/ls"); #### ssh: Could not resolve hostname root.remoteIP: Name or service not known remoteIP is the real IP address of the remote computer. #### ssh root@remoteIP /usr/bin/ls #### system("ssh root\@\remoteIP /usr/bin/ls");