ruby on rails - How do I access my Virtualbox using Vagrant on Windows 7 -
ruby on rails - How do I access my Virtualbox using Vagrant on Windows 7 -
steps have done far: have downloaded virtualbox , vagranton windows7 on local machine made directory in c: drive -> mkdir sitesvm @ windows command line cd'ed sitesvm , did vagrant init vagrant vagrant ssh
this popped up
c:\sitesvm>vagrant ssh ssh executable not found in directories in %path% variable. ssh client installed? seek installing cygwin, mingw or git, of contain ssh client. or utilize favorite ssh client next authentication info shown below: host: 127.0.0.1 port: 2222 username: vagrant private key: c:/sitesvm/.vagrant/machines/default/virtualbox/private_key
i have installed cygwin suggested, cygwin must not communicating locally because not have files available through cygwin command line.
what missing here ?
the cygwin tools (like ssh
) work cygwin command line, not windows command line.
do vagrant destroy
or @ to the lowest degree vagrant suspend
window command line working. seek starting cygwin terminal, alter same directory (cd /cygdrive/c/sitesvm
) , start vm 1 time again there (vagrant up
).
now, should able utilize vagrant ssh
cygwin bash shell.
(not of strictly necessary, create easier go on working bash shell.)
if still doesn't work, ssh may not installed.
from cygwin command line, type ssh
. should see:
$ ssh usage: ssh [-1246aacfggkkmnnqsttvvxxyy] [-b bind_address] [-c cipher_spec] [-d [bind_address:]port] [-e log_file] [-e escape_char] [-f configfile] [-i pkcs11] [-i identity_file] [-l [bind_address:]port:host:hostport] [-l login_name] [-m mac_spec] [-o ctl_cmd] [-o option] [-p port] [-q cipher | cipher-auth | mac | kex | key] [-r [bind_address:]port:host:hostport] [-s ctl_path] [-w host:port] [-w local_tun[:remote_tun]] [user@]hostname [command]
if cygwin ssh client installed properly.
if says -bash: ssh: command not found
, go cygwin installer (setup-x86.exe
or setup-x86_64.exe
) , in select packages screen, search openssh
. switch skip
version (right 6.8p1-1
) , nail next. install ssh
client in cygwin.
ruby-on-rails vagrant virtualbox
Comments
Post a Comment