Use Putty to connect to Linux in VirtualBox on the local machine

Source: Internet
Author: User
Tags linux mint

The Linux version I installed in VirtualBox on my local machine is Linux Mint 15. It is used directly in the virtual machine. It feels like a card and you want to connect to it in Putty.

1. When Linux is started, the network settings of the virtual machine do not need to be converted. The Network Address Translation (NAT) is used ).

2. Open the terminal:

Vim/etc/network/interfaces

Write:

Auto eth0

Iface eth0 inet dhcp

3. Set virtual machine port forwarding rules:

4. Enter

Telnet 127.0.0.1 33

If we see the ssh response information, it means OK. In putty, open session ==> ip: 127.0.0.1; port: 33.

If there is no response, we may not install the sshd service, and install ssh in Linux.

Recommended reading:

How to Use Putty to implement remote logon control on Linux platform

How to connect Putty to Ubuntu in VMWare

VMware + Linux + Putty environment Configuration

Use Putty to remotely log on to and control the virtual machine's Fedora System

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.