Putty remote login to linux all kinds of problems putty remote login to linux convenience, presumably everyone has felt, about this tutorial Baidu a basket, here will not go into detail, it is mainly to summarize the problems encountered during the use of putty. If there are various problems in the use process, you can refer to the following method. You can use one method, if not, use OK. for firewall problems, we recommend that you disable the firewall command iptables-p input accept iptables-p forward accept iptables-p output accept iptables-F 2. network error: Connection refused use putty login display network error: Connection refused solution: 1. gedit/etc/ssh/sshd_config uncomment PermitRootLogin or change no to yes. (If there is no sshd_config file, SSH is not installed on linux. After sudo apt-get install ssh is used, the default value of the PermitRootLogin option in the sshd-config file is yes, the newly installed ssh server does not need to perform the following two operations) 2. service sshd restart (the command in ubuntu should use/etc/init. d/ssh restart to start the ssh service) 3. run the setup command to close the firewall. (Same as 1) 3. after using putty login show garbled in fact only one step: In the window-> Translation, character set, the Use font encoding to UTF-8, other do not need to change 4. when used, software conflicts and the like occur, which is the problem of your virtual machine ip address. Change the ip address in ubuntu first: obtain IP1. sudo vi/etc/network/interfaces auto lo iface lo inet loopbackauto eth0iface eth0 inet dhcp2.sudo vi/etc/resolv dynamically. confnameserver 192.168.1.13.sudo/etc/init. d/networking restart verification: ifconfig Second: set static IP1. sudo vi/etc/network/interfacesauto lo iface lo inet loopbackauto reset eth0 inet staticaddress limit 255.255.0gateway 192.168.1.12.sudo vi/etc/resolv. confnameserver 192.168.1.13.sudo/etc/init. d/networking restart