How can I capture current configured ssh guest port?

27 views
Skip to first unread message

Joaquin Menchaca

unread,
Aug 2, 2015, 5:03:54 PM8/2/15
to Vagrant
How can I capture the current SSH guest port and private key location from Vagrant file?

I tried using this in my Vagrant file:

 puts "config.ssh.private_key_path=#{config.ssh.private_key_path}"
 puts "config.ssh.guest_port=#{config.ssh.guest_port}"


But I get object ids.  I then tried to inspect the objects, but all I get is an object id... :'(


Reply all
Reply to author
Forward
0 new messages