I am using XAMPP-VM on Mac, I tried to ssh to the VM using the address shown on the xampp manager:
192.168.65.2
I realized that I don't konw the VM's root password, and any ssh-key info. Is there any way to do this?
I know I can mount the volumn on /opt/lampp
, it's ~/.bitnami/stackman/machines/xampp/volumes/root
on my machine; but in this way, I don't have permission to write files. If anybody can tell me how to set permission for the mounted file, that will be a great help too.
I changed directory to:
cd ~/.bitnami/stackman/machines/xampp/ssh
There was already an 'id_rsa' and an 'id_rsa.pub' file there and I managed to ssh, as root user, to the IP shown in the XAMPP manager, using this key to use for it to work:
ssh -i id_rsa [email protected]
This gave me a root login to the Debian VM:
root@debian:~# cat /etc/issue
Debian GNU/Linux 9 \n \l
Hope this helps.
Richard
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With