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 previous ones.
For this reason I am looking for a solution to open a connection and manage it from within the R code until I have finished. I also need to open the connection with ssh key exchange (so without password authentication).
Looking at CRAN I didn't find anything useful.
Consider CRAN packages:
RCurl supports scp
ssh.utils supports also remote execution and monitoring:
https://github.com/collectivemedia/ssh.utils/tree/master/man