Skip to content

Commit e921e9f

Browse files
author
Peter Willis
committed
Update sample vagrant openssh config
1 parent 62f4360 commit e921e9f

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

vagrant_openssh.conf

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
# This is an example OpenSSH config you can SSH into your Vagrant machine on Windows.
2-
Host default
2+
# You can view the current configuration by running:
3+
# c:\files\vagrant\devbox>vagrant ssh-config
4+
5+
Host devbox
36
HostName 127.0.0.1
47
User vagrant
58
Port 2222
69
UserKnownHostsFile /dev/null
710
StrictHostKeyChecking no
811
PasswordAuthentication no
9-
IdentityFile C:/files/vagrant/devbox/.vagrant/machines/default/virtualbox/private_key
12+
IdentityFile c:/files/vagrant/devbox/.vagrant/machines/devbox/virtualbox/private_key
1013
IdentitiesOnly yes
1114
LogLevel FATAL
1215
ForwardX11 yes

0 commit comments

Comments
 (0)