1-844-696-6465 (US)        +91 77600 44484        help@dezyre.com

Problem connecting to VM using SSH client hosted in Oracle virtual box



0

Follow the below steps to solve the issue connecting to vm hosted using Oracle virtual box 

1. Go to VM -> Machine -> Settings -> Network -> Adapter -> Advanced -> Port forwarding

Click on Plus and add following entries in each column respectively

 (name) -> <Some name, eg: Custom>, (Protocol) -> TCP, (Host IP) -> 127.0.0.1, (Host Port) -> 2222, (Guest IP) -> (VM IP eg: 10.0.2.15), Guest Port -> 22

 

2. Now go to SSH client like putty and connect to the Host IP

   127.0.0.1 and port 2222

Hope this helps

Thanks

Jaya

 

 

 


1 Answer(s)


0

Hi JayaKrishna,

Please switch the network adapter "NAT' to "Bridge Adapter" in Virtual machine settings.
Hope this helps.

Your Answer

Click on this code-snippet-icon icon to add code snippet.

Upload Files (Maximum image file size - 1.5 MB, other file size - 10 MB, total size - not more than 50 MB)

Email
Password