Link to home
Start Free TrialLog in
Avatar of Rohit Bajaj
Rohit BajajFlag for India

asked on

How to ssh into my virtual box linux machine

HI,
I tried ssh user@ip from my machine to linux running on a virtual box . But it didnt work.
How can i do it ?
Also on my machine there is mysql server running on port 3306 so i tried connecting to it from my virtual machine...by giving the ip of my machine.. this also didnt work..
Any ideas how to perform there ?
Thanks
ASKER CERTIFIED SOLUTION
Avatar of Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Rohit Bajaj

ASKER

That worked... changed to bridged and enabled SSH...
But i still get an error if i try connecting to mysql running on localmachine from VM :
mysql -h 192.168.0.4 -u root -p
Enter password: 
ERROR 1130 (HY000): Host '192.168.0.6' is not allowed to connect to this MySQL server

Open in new window

SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial