I'm sorry for the mistakes I've made, I'm not Englishman.
I have Ubuntu 13.10 and Virtualbox installed Ubuntu Server 13.10 (Bridged Adapter). Guest machine has nginx, mariaDB, php etc. - hence web server. So at the host machine I successfully connect to vm server through browser and everything works ok. Now I want to set up ssh connection between guest and host. How can I implement it?
I think something tie with port forwarding and network type on guest, but I don't have enough knowledge to understand what I do wrong. Googling direct me to host-only network type on guest machine and configuring its IP to static instead of DHCP. Please, help)
Connect to the IP address that the Ubuntu Server 13.10 has on your network.
On your server run
$ifconfig eth0
this should give you the IP that the virtual network adapter is pulling from your network.When you have the adapter in bridged mode it is going to act like a separate NIC so no port forwarding is necessary. It would be more complicated if you had it running in NAT mode.
Assuming the SSH server is running and configured correctly, you can connect without any problems:
Now to make things easier, you should use a static IP address for the guest machine, this way you won't have to use ifconfig to find your IP address every time you connect to a different network.