what provider/plugin are you using? virtualbox/vmware/plugin....
On Tue, Aug 19, 2014 at 9:35 AM, Raghavan Srinivas < [email protected]> wrote: > I am using a ProxyCommand in ~/.ssh/config as below. I use vpcpublic as a > hop for SSHing into the 10.0.0.* servers. > > Host 10.0.0.* > > ForwardAgent yes > > ProxyCommand ssh -i /Users/rags/keys/id_rsa -l root vpcpublic nc > %h 22 > > The ssh (part of vagrant up) never completes. Ofcourse it never completes > without the lines in the config file either (since I am hopping via the > vpcpublic node) > > The relevant snippets from vagrant up --debug is as below > > 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 [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
