To be able to use putty to access Ubuntu, take the following steps:
1. Install SSH service.
Installation method:
sudo apt-get install SSH
2.ubuntu Configuration Network.
To make Ubuntu IP address and XP IP address in the same network segment, the same network segment refers to the IP address and mask and the resulting value is the same, this value is called the network identity, that is, the network identity, the same network segment. For example: The IP address of Ubuntu is 192.168.1.72, the mask is: 255.255.255.0, then the network identification after phase is 192.168.1.0. The IP address of XP is 192.168.1.215, the mask is: 255.255.255.0, then the network identification after phase is 192.168.1.0.
(Note: phase is the corresponding bit phase, for example: 192 and 255 with, 168 and 255 with, 1 and 255 with, 215 and 0 with)
Change the configuration in the file/etc/network/interfaces.
Auto Eth0
Iface eth0 inet Static
Address 192.168.1.72
Netmask 255.255.255.0
Network 192.168.1.0
Broadcast 192.168.1.255
Gateway 192.168.1.1
Setting up DNS
Change file/etc/resolv.conf
NameServer 192.168.1.1
NameServer 202.96.134.133
Change the back address to the local DNS
If you do not know DNS, you can obtain the following methods:
1. Ask the local telecommunications sector.
2. Under XP, enter the "Run"-"typed cmd-" at the command line through instructions nslookup or ipconfig/all get
Enter command sudo/etc/init.d/networking Restart can make network settings take effect
3.VMware Network Settings
Go to "VM"-"Settings ...", under the hardware option there is a network Adapter, select this item with the mouse, and select connection in the right network bridged. There are articles that NAT can also, I tried, no, I do not know what the reason.
4. Set Putty
The administrator is the user in Ubuntu to log in, 192.168.1.72 is the address of Ubuntu.
You can use Putty to log in to Ubuntu by using the above settings.