I am trying to open a remote shell via ssh to send commands from R. As long as I send commands, I need to get results and send new commands that depends on the output of the pre
Consider CRAN packages:
RCurl supports scp
ssh.utils supports also remote execution and monitoring:
https://github.com/collectivemedia/ssh.utils/tree/master/man