开发者

how to connect ssh in vm

开发者 https://www.devze.com 2023-03-07 09:53 出处:网络
I have vm inside my ubuntu and i am using reliance netconnnect. I can use internet but cannoy ssh outside of vm.

I have vm inside my ubuntu and i am using reliance netconnnect.

I can use internet but cannoy ssh outside of vm.

I can ssh from vm to outside but not out开发者_Go百科side to ssh.

ssh and open-ssh already installed. can anyone tell me what needs to be do?


I was able to through this issue and able to ssh and connect internet, by changing to bridged and ... check this attached

how to connect ssh in vm

.

ubuntu x68 11.10 in virtualBox.

-- ~Subba


Your network-adapter setting for the VM inside your Ubuntu may be set to NAT. This would mean that it has an IP address that is not reachable from outside (i.e. another machine). You could change the setting to Bridged and see if it works for you.


I am new to this so what I found helpful from my google friend :) is below

I had created a Virtual machine on VM workstation of Ubuntu OS and was not able to connect from my windows local machine.

To enable ssh port 22 if in case the port is disabled or the firewall is disabled use below cmd

sudo ufw status

sudo ufw enable This will enable the firewall

sudo ufw enable ssh #this will enable ssh port for remote SSH terminal connection

I was able to establish the connection from the local windows machine using the Tectia terminal to my VM ubuntu.

0

精彩评论

暂无评论...
验证码 换一张
取 消