Skip to content
This repository has been archived by the owner on Feb 1, 2022. It is now read-only.

ssh login vm #29

Closed
staabm opened this issue May 25, 2013 · 15 comments
Closed

ssh login vm #29

staabm opened this issue May 25, 2013 · 15 comments

Comments

@staabm
Copy link
Contributor

staabm commented May 25, 2013

whats the default username + password to login to the VM via SSH?

@staabm
Copy link
Contributor Author

staabm commented May 25, 2013

user and password are by default "vagrant" (without the quotes)

@staabm staabm closed this as completed May 25, 2013
@jtreminio
Copy link
Member

Just a note, you can easily ssh into your VM(s) with $ vagrant ssh

@staabm
Copy link
Contributor Author

staabm commented May 27, 2013

@jtreminio maybe adding a hint in "Step Ω" at the bottom of the page would ease things because I suppose PuPHPHet users will be vagrant newbies most of the time..

@frastel
Copy link
Contributor

frastel commented May 27, 2013

... and/or and additional link to the vagrant ssh documentation: http://docs-v1.vagrantup.com/v1/docs/getting-started/ssh.html

@staabm
Copy link
Contributor Author

staabm commented May 27, 2013

nit: I whink the correct url would be http://docs.vagrantup.com/v2/getting-started/index.html

@philsbury
Copy link

The default SSH logins aren't working for me, using vagrant 1.6.2
I want to login to the MySQL on there so vagrant ssh isn't too much help there. Any thoughts?

@scoutman57
Copy link
Contributor

in your db tool (mysql workbench, or Sequel Pro, whatever) connect via ssh
and then connect to the db using local host.

On Fri, May 16, 2014 at 2:17 PM, philsbury notifications@github.com wrote:

The default SSH logins aren't working for me, using vagrant 1.6.2
I want to login to the MySQL on there so vagrant ssh isn't too much help
there. Any thoughts?


Reply to this email directly or view it on GitHubhttps://github.com//issues/29#issuecomment-43369142
.

@philsbury
Copy link

Yup tried that and connection was denied. I tested an ssh connection using vagrant@xxx.xxx.xx.xxx but that also failed.

I can update the password by using vagrant ssh and then passwd, but that isn't ideal if it's not me using a provisioned vm.

@jtreminio
Copy link
Member

Use the private key generated at puphpet/files/dot/ssh/id_rsa, username vagrant

@philsbury
Copy link

Worked like a charm, thank you!

@philsbury
Copy link

This issue has come up again with a new box. When attempting to log in with Sequel Pro, the error "The SSH Tunnel has unexpectedly closed." is presented (using the private key).

When booting the box, it also says:
default: SSH auth method: private key
default: Warning: Connection timeout. Retrying...

I notice there's SSH settings in the config.yaml, does this need updating in any way?

@philsbury
Copy link

Fixed the above, on my Mac, it had remembered the old key in /Users//.ssh/know_hosts

Deleting that and reconnecting fixed the problem!

@gubagu
Copy link

gubagu commented Aug 29, 2014

Hey jtreminio,
Thanks man worked like a charm

Cheers !

@khromov
Copy link
Contributor

khromov commented Oct 21, 2014

vagrant ssh
passwd
(Enter new password)

...Solved this for me!

@neohunter
Copy link

I'm able to ssh using private key, but what is the default passwd for vagrant user?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants