Host 10.0.0.*
ForwardAgent yes
ProxyCommand ssh -i /Users/rags/keys/id_rsa -l root vpcpublic nc %h 22
DEBUG ssh: == Net-SSH connection debug-level log START ==
DEBUG ssh: D, [2014-08-18T16:56:34.678540 #87694] DEBUG -- net.ssh.transport.session[80b3475c]: establishing connection to 10.0.0.126:22
DEBUG ssh: == Net-SSH connection debug-level log END ==
INFO retryable: Retryable exception raised: #<Errno::ENETUNREACH: Network is unreachable - connect(2)>
INFO ssh: Attempting to connect to SSH...
INFO ssh: - Host: 10.0.0.126
INFO ssh: - Port: 22
INFO ssh: - Username: root
INFO ssh: - Password? false
INFO ssh: - Key Path: ["/Users/rags/keys/id_rsa"]
However when I do a vagrant ssh after the instance it's up, I am fine. Same with being able to ssh to root as well.
vagrant ssh
Last login: Mon Aug 18 21:03:08 2014 from 10.0.0.210
[root@ip-10-0-0-126 ~]#
$ vagrant ssh-config
Host default
HostName 10.0.0.126
User root
Port 22
UserKnownHostsFile /dev/null
StrictHostKeyChecking no
PasswordAuthentication no
IdentityFile /Users/rags/keys/id_rsa
IdentitiesOnly yes
LogLevel FATAL
Is there anything I need to do in terms of the config.ssh.proxy_command (I tried various logical combinations but that did not seem to work -- is there an example out there? :-))
Thanks!
Rags
--
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.