Objective:
SECURECRT is a terminal emulator that supports SSH (SSH1 and SSH2), simply the software that logs on to UNIX or Linux server hosts under Windows. This does not have to go to the Linux desktop, it is more convenient to operate under the command line. This article is a demo of using SECURECRT to connect to Linux on a virtual machine on Windows, a virtual machine This article uses a VMware
1. Use the ifconfig command to view the current Linux IP address
Eth0 Link encap:ethernet HWaddr 00:0c:29:19:05:90
inet addr:169.254.252.68 bcast:169.254.1.255 mask:255.255.255.0
Up broadcast RUNNING multicast mtu:1500 metric:1
RX packets:4020 errors:0 dropped:0 overruns:0 frame:0
TX packets:1751 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1888713 (1.8 MiB) TX bytes:248702 (242.8 KiB)
Lo Link encap:local Loopback
inet addr:127.0.0.1 mask:255.0.0.0
Up LOOPBACK RUNNING mtu:16436 metric:1
RX packets:1313 errors:0 dropped:0 overruns:0 frame:0
TX packets:1313 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3660406 (3.4 mib) TX bytes:3660406 (3.4 mib)
Note 169.254.252.68 is the IP address 255.255.255.0 for the gateway
or view the document that holds the IP address:/etc/sysconfig/network-scripts/ifcfg-eth0
2. Set the IP of the WINDIWS, the IP of the virtual machine is on the same IP segment as the Linux IP
(1) Set the IP address of the virtual machine
VMware Network Adapter VMNET8 is set under Windows, where the IP address of VMnet8 is the same as the default gateway and virtual machine (hold and VM IP remain on the same network segment)
If it can be set to 169.254.252.69
(2) Set the IP of the native Windows (machine that installs the virtual machine) and also keep the same network segment with Linux as: 169.254.252.63
3. The network setting of the virtual machine is bridged mode
Select the virtual machine, then select Settings, then select Network adapter, select Bridge mode, 3
4. Turn off the Linux firewall
The command is as follows (permanently switched off):
Chkconfig iptables off/on
(temporarily shuts down or turns on the firewall).
Service Iptables Stop/start
Telnet to Linux on 5.windows, Port 22
The command is as follows: Telnet 169.254.252.68 22, starting with the CRT connection to Linux after success
6. Setting up the CRT
(1) If the file setting of the CRT protocol is SFTP, host name 169.254.252.68 port is 22, click Connect, 4
(2) If it is connected to Linux, use the command on Windows, set the CRT protocol to SSH2, host name 169.254.252.68 port is 22, click Connect, 5
7. If the connection is unsuccessful, SSH may not be installed, try to install SSH on Linux
Connect to Linux using SecureCRT on Windows