Window SSH connect local virtual machine Ubuntu 16

Source: Internet
Author: User

1. Setting up a virtual network

2. Set up the Linux IP

Open the Ubuntu terminal and enter:

sudo gedit/etc/network/interfaces

The original content only has the following two lines:
Auto Lo
Iface Lo inet Loopback

Append in the rear

Auto Ens33
Iface ens33 inet Static
Address 192.11.1.199
Netmask 255.255.255.0
Gateway 192.11.1.1
Network 192.11.1.0
Broadcast 192.11.1.255

3. Restart the Linux network

sudo/etc/init.d/networking restart

Linux and Windows ping each other through the

4. Setting the port

Netstat-nat | grep 22

Shutting down the firewall

sudo ufw disable

OK Finish

Connecting a virtual machine with a securecrt on this machine

Window SSH connect local virtual machine Ubuntu 16

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.