Ask xp to use putty to connect to centos-general Linux technology-Linux technology and application information of vm. The following is a detailed description. [I = s] This post was last edited by ay shadow on
Centos is installed with the openssh service and enabled. The default port is port 22.
The centos of the host xp and vm can ping each other, but the putty on xp cannot be connected to ssh.
Telnet port 22 is attempted and the connection is successful.
According to the online information, iptables is disabled, and/etc/hosts. allow is set to ALL: ALL and/etc/hosts. deny is empty.
Set/etc/ssh/sshd_config
Remove the comment of # PasswordAuthentication no and change NO to YES.
Remove the # PermitRootLogin yes annotation.
The problem persists...
Try to connect to ssh 192.168.0.109 on the centos Terminal
The following is putty. It always looks like this. After waiting for a long time, there is no prompt for timeout...
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.