When using VMWare virtual Linux in windows, data and files are often transmitted between the virtual machine and the host, therefore, it is convenient to use tools such as SSH Secure Shell client to remotely control Linux virtual machines and transfer files. The following is a brief description.
Host system: Windows 7x64
Virtual Machine Software: VMWare 7.0.0
Virtual Machine System: RedHat el 5
Step 1: Enable the Linux SSH service
Chkconfig -- list | grep sshd.
The sshd access must be allowed in the firewall rules:
1. Clear firewall rules, # iptables-F
2. # iptables-A input-p tcp -- dport 22-J accept
# Iptables-A output-p tcp -- Sport 22-J accept
Step 2: configure the Virtual Machine Network
It is best to set the NIC of a virtual machine as a bridge, set the IP address of the virtual machine, and use the ping command to check whether the virtual machine is connected to the host.
Step 3: Start the SSH Secure Shell Client
Click quick connect, enter the Virtual Machine IP address, enter the Virtual Machine Login User Name, select port 22, authentication select password, click Connect, and then enter the login password to connect.