pachadotdev / analogsea

Digital Ocean R client
https://pacha.dev/analogsea/
Apache License 2.0
154 stars 24 forks source link

Figure out how to use ssh shipped with Rstudio #81

Closed hadley closed 3 years ago

hadley commented 9 years ago

For windows - found in RStudio\bin\msys_ssh

sckott commented 9 years ago

Hmm, I tried it on my Windows box on Virtualbox, and could get shell("ssh.exe") to execute and print help info, but other attempts caused a crash

hadley commented 9 years ago

You'd still use system(), just with the correct path.

sckott commented 9 years ago

Do you think it's best to use RStudio ssh/scp when on linux and mac too? Or just windows?

hadley commented 9 years ago

It's only bundled on windows, because it's commonly installed on the other two

sckott commented 9 years ago

right, just checking if there's any reason to favor rstudio version even on unix/linux, just windows then

MarkEdmondson1234 commented 7 years ago

Hi @sckott have you tried this out? I've used your ssh/scp code at googleComputeEngineR, and getting people having issues on Windows trying to connect. Using a version shipped with RStudio sounds cool.

sckott commented 7 years ago

i haven't tried yet - will try to get to soon and get back to you

MarkEdmondson1234 commented 7 years ago

@sckott a little development, it looks as if the RStudio SSH client has a hardcoded place to put SSH keys, so potentially you could use those to authenticate. I'm in the same position as you in having trouble getting a Windows machine to fully test it https://github.com/cloudyr/googleComputeEngineR/issues/32#issuecomment-277599012

sckott commented 7 years ago

thx, will have a look soon