pachadotdev / analogsea

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

user report - ssh on Windows #72

Closed sckott closed 10 years ago

sckott commented 10 years ago

I keep running into this error: 'ssh -o BatchMode=yes -o StrictHostKeyChecking=no root@104.131.151.13 "docker pull rocker/rstudio"' had status 127

He did

library(analogsea)

docklet_create() %>%
  docklet_rstudio()
hadley commented 10 years ago

Status 127 is command not found. Maybe path to ssh not set up correctly? Any chance this is on yosemite?

sckott commented 10 years ago

The person is on Windows 8, I'll see if they have ssh

sckott commented 10 years ago

They don't have ssh. What's best practice for Windows users to get ssh?

hadley commented 10 years ago

Maybe through cygwin? I know putty is fairly popular, but I don't know if it has a command line client.

sckott commented 10 years ago

Right, I asked the person to install one of those.

We do have cli_tools() function to check for ssh and scp and stop with warning if they don't have it. Should we employ that function to give a more meaningful error message to those w/o ssh/scp

hadley commented 10 years ago

Yes, definitely! I think they got a bit lost in the refactoring

sckott commented 10 years ago

Okay, added cli_tools() check for scp and ssh here https://github.com/sckott/analogsea/commit/abe707fcb878d7190a1868bd147383454e15302a