Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

1- Create an vagrantfile ( for 2 VMs)

2- Install vagrant plugin

3- create the vagrantfile

4- start the VM 

5- check the VM ( and ssh-config)

6- use the private key in mobaXterm



2- Install vagrant plugin

vagrant plugin install vagrant-host-shell
vagrant plugin install vagrant-junos




5- check the VM ( and ssh-config)


cd /drives/c/Users/jkriker/Documents/vagrant/vsrx
➤ vagrant global-status
id name provider state directory
-----------------------------------------------------------------------------
e8060bf default virtualbox running C:/Users/jkriker/Documents/vagrant/arch1
d651528 ubuntu virtualbox running C:/Users/jkriker/Documents/vagrant/vsrx
8113892 srx virtualbox running C:/Users/jkriker/Documents/vagrant/vsrx
. . .

➤ vagrant ssh-config srx
Host srx
HostName 127.0.0.1
User root
Port 2201
UserKnownHostsFile /dev/null
StrictHostKeyChecking no
PasswordAuthentication no
IdentityFile C:/Users/jkriker/Documents/vagrant/vsrx/.vagrant/machines/srx/virtualbox/private_key
IdentitiesOnly yes
LogLevel FATAL

6- use the private key in mobaXterm






  • No labels