Ssh accesses to the linux System in vmware8. The network settings of Vmware adopt the NAT mode. You want to use ssh to access the Linux System in the virtual machine in the local WIN7 system. 1. Perform address and port ing. Open Virtual Network Editor (in the Edit menu or in the VMware Home interface menu ). Select the NAT project, open the NAT Setting page, and click Port Forwarding-> Add... Host Port: 22 (the Port to be mapped in the Host) Virtual Machine IP address: 192.168.253.128 22 (which IP address is mapped to (which Port can be viewed through ifconfig in linux) description: SSH Virtual port (brief Description) 2. confirm that the Linux SSH service has been activated * ssh is a remote management method that can replace telnet. A service that has the advantages of Security and shortcuts. * run the setup command in the shell window and select system service to start the sshd service. * In the/etc/ssh/sshd_config file, set PermitRootLogin no | yes to allow the root user to log on remotely. 3. view firewall settings in Linux and windows, disable it, or open port 22. Disable the firewall in linux: Disable the firewall with the ROOT permission: # service iptables stop # chkconfig iptables off ============================== =========================================== * permanent effect, after restart, it will not be enabled: chkconfig iptables on off: chkconfig iptables off * takes effect immediately. After restart, it will be enabled: service iptables start off: service iptables stop: open port 22 in windows. Enable the SSH service in windows or use netstat-an to check whether port 22 is used to access the linux System in the virtual machine through ssh: connect through SecureCRT 4. close VMware to the system tray: Open VMware's Edit-> Preferences-> Workstation-> Keep VMs running after Workstation closes5. enable fedora to start on the text interface by default to reduce memory usage: sudo ln-s/lib/systemd/system/multi-user.target/etc/systemd/system/default.tar get