A SECURECRT Connecting virtual machine Linux

Source: Internet
Author: User

Recently, when I was learning Linux, I had some problems connecting virtual machine Linux with SecureCRT, and now I have a summary.

1, the first to configure the Linux configuration file, modify the static IP address and mask, keep the same network segment with the Local. Change the configuration file method as follows:

First step: Bridging. On the menu bar, settings, hardware-and network adapter, select Bridge mode on the right.
The second step: Bridge to connect to the Internet network card. On the menu bar edit, virtual network Editor, choose to Bridge to your own windows in the Internet network card (usually WiFi network or wired network)
Step three: Set up DHCP and restart the NIC.
Vi/etc/network/interfaces, open the file and edit the content into:
Auto Lo
Iface Lo inet Loopback

Auto Eth0
Iface eth0 inet DHCP
Address 192.168.1.141
Netmask 255.255.255.0
Gateway 192.168.1.1

Save exit. The command line then executes the/etc/init.d/networking restart restart the NIC

2. Install SSH

Open the Ubuntu terminal and enter:
  sudo apt-get install openssh-server

SSH is started by default when the installation is complete. You can use the following command to see if a process is listening on port 22, that is, whether it is started:
  netstat -nat | grep 22

3. Turn off the firewall

Use the following command to turn off the firewall, otherwise SECURECRT cannot connect:
  sudo ufw disable

4. Connect to On-premises virtual machine Linux using SECURECRT

Click "Quick Connect", protocol Select "Ssh2", hostname fill in the IP address of the virtual machine (for example, 192.168.86.132 in this article), click Connect Connection.

Enter the user name, password, and tick save.

At this point, you can use SECURECRT to connect to the Linux system in the on-premises virtual machine.

5, FAQ: SecureCRT file is garbled

Options->session Options->terminal->appearance,character Select UTF-8.

A SECURECRT Connecting virtual machine Linux

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.