Allow ssh(scp) to another VM

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Allow ssh(scp) to another VM

Richard Diamond

Vagrant version

Vagrant 1.9.5

Host operating system

Windows 7 Ultimate

Guest operating system

Debian 8


I have a machine that seek to connect by ssh to another machine.


I tried

Is there any way to allow ssh connection between vm?

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/85aed9ad-356d-4321-b77b-66f58045aee2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Allow ssh(scp) to another VM

Alvaro Miranda Aguilera
Hello

sure, let me share some information.

If you want to use the vagrant private key, you need to tell vagrant to not replace it.

add

config.ssh.insert_key = false

vagrant destroy
vagrant up

and you should be able to ssh as vagrant user using the private key.

Alvaro.


On Tue, Jun 20, 2017 at 6:45 PM, Richard Diamond <[hidden email]> wrote:

Vagrant version

Vagrant 1.9.5

Host operating system

Windows 7 Ultimate

Guest operating system

Debian 8


I have a machine that seek to connect by ssh to another machine.


I tried

Is there any way to allow ssh connection between vm?

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/85aed9ad-356d-4321-b77b-66f58045aee2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Alvaro

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/CAHqq0ezyP9tNyPcYiU4Vbia%2Bii46zWw7uvQQThGCmsWP96MPJQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.