PuTTY Introduction
The putty is a telnet, SSH, rlogin, pure TCP, and serial interface connection software. The earlier version supported only the Windows platform, and in the most recent version it began to support various UNIX platforms and was intended to be ported to Mac OS X. In addition to the official version, many unofficial groups or individuals have transplanted putty to other platforms, such as Symbian-based mobile phones. Putty is an open source software, primarily maintained by Simon Tatham, using the MIT licence. With the popularity of Linux in server-side applications, Linux system management is increasingly dependent on remote. Among the various Telnet tools, putty is one of the great tools.First, putty login to the CentOS virtual machine
backgroundThe physical machine's operating system is Windows XP. The virtual machine is the CentOS installed on VMware, and the version is 5.6. Because each time the login virtual machine mouse will be limited to the virtual machine landing interface, so want to use remote login tool to log on to the virtual machine. The network used by the virtual machine is bridge mode.Note: In bridge mode, the virtual machine and the physical machine can ping each other, but the virtual machine cannot ping the extranet; in NAT mode, the virtual machine can ping the physical and external networks, but the physical machine cannot ping the virtual machine.
Login ProcessThe first time from the physical machine through the Putty login virtual machine, there will be a warning message, login interface and warning information as shown:Figure 1 Putty Landing Interface
Figure 2 Alarm informationClick on the "yes" option in Figure 2 to log in to the virtual machine, prompting for a username and password, for example, this is my login screenFigure 3 Login to the virtual machine interface remark:PROBLEM: The login process appears "PuTTYNetwork Error:connection refused"Error Answer: 1. First make sure that SSH is running on the virtual machine and you canService sshd Status"To view the SSH run status, if it is not running, you can use the"Service sshd Start"Let it start. In addition the order:Service sshd StopService sshd Restart2. If you still see the above error message, you can check your firewall to see if the firewall is off and the command is SSH. service iptables Stop shutting down the firewallServiceIptablesRestart Restart the firewallServiceIptablesStart firewallServiceIptablesRestart view firewall status3. If the problem is not resolved, you can try to turn off SELinux, in fact, it is not closed, this is to let SELinux send an alarm message, but do not block, that is, let SELinux in the permissive state. getenforce View selinux statussetenforce1/0 Sets the SELinux state, 1 represents the enforcing state, and 0 represents the permissive state. If you want to turn selinux off, you can modify the SELinux configuration file, the configuration file seems to be a/etc/selinux, or a/etc/sysconfig/selinux, not clear Questions:The login process appears "PuTTY Network Error:no route to host error promptAnswer:1. First check to see if you can ping the virtual machine or log in to your machine via putty. Second, putty login CentOS virtual machine
backgroundThe physical machine's operating system is Windows XP. The virtual machine is Ubuntu installed on VMware, and the version is 12.04. The network connection mode is Bridge mode.
Login Process1, because there is no pre-installed SSH on Ubuntu, need to install SHH. 2. Configure Ubuntu IP address so that it is in the same network segment as the physical machineThe physical Machine Network information is as follows:edit Ubuntu Network configuration file/etc/network/interfacesEditing a configuration file/etc/resolv.confre-reading the network configuration fileThe Ubuntu virtual machine can now be logged on with PuttyRelated article: http://baike.haosou.com/doc/5498342-5736256.html
Linux System Management Telnet tool putty