In windows, how does one use putty to connect to the Virtual Machine Fedora and puttyfedora?

Source: Internet
Author: User

In windows, how does one use putty to connect to the Virtual Machine Fedora and puttyfedora?

Windows connection Virtual Machine Fedora
1.The first condition is that ping is required on the local computer. Generally, if it is a Fedora created in VMware, as long as the local network is connected normally, and the virtual machine network adapter is connected through NAT. If you can access the Internet normally in the VM, this may be because the following route adapter is not started:

2. Then, check whether the ping is successful on the local computer. Generally, the ping is successful.
3.In the Fedora system, operate through the terminal window. Note that the user set by the computer is logged on in the terminal window, instead of the root user. I am ou, what is the difference between connecting to a virtual machine through ou and the root user.
1. enable ssh
Service sshd restart

Second, disable the firewall.
Service iptables stop

The test shows that the firewall is not started at all.
Third: selinux (expired after restarting the computer)
Setenforce 0

Fourth: query the ip address of fedora
Ifconfig

4.Ping the ip address of the VM on the local machine as follows:

5Open putty and use the following settings:
Enter IP Address

Enter the account you want to log on to. Enter ou user or root user here, but remember that the two passwords may be different.

Enter the content in the red box, and then select open

Enter the ou user password. Note that it is an ou user, not a root user. The password may be different. The following page is displayed after Logon:

After successful logon, commands entered on the local machine cannot be directly displayed on the local machine. For example, if you enter gedit, notepad is started, but not displayed on the local computer, it is displayed in the ora of the virtual machine.

Run the following command to access the root user:

Su-root
Password: Enter the root password.
To use the su command, enter the password. In this case, change "$" under root to "#". In this case, you can use the exit command to log out of the root account and enter the normal user.

Root User Switching common user
Su-ou
[Lym @ bogon ~] $

Note: Only the root user can log on to the VM through the local machine.

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.