After opensuse 11 is installed, it is found that the SSH connection fails. You can ping it, But Telnet does not work. After checking the service, it is found that the SSH service is not enabled. Steps:
1. Modify the sshd_config file.
Remove the comment of # passwordauthentication no and change no to yes.
3. Comment out # permitrootlogin yes.
4. Restart the SSH service:/etc/init. d/sshd restart
5. Verify the SSH service status:/etc/init. d/sshd status.
The service is started but cannot be connected. The firewall may be used to disable the firewall, and the service iptables stop. No service change was found. In the past, Suse's Firewall was not iptables, but a firewall tool provided by its system. In addition, the default SuSE firewall is set to reject all requests. Modify the firewall and enable the sshd Port
1. modify the configuration file/etc/sysconfig/susefirewall2
2. Development Port:
# TCP port:
Fw_services_ext_tcp = "22"
# UDP port status:
Fw_services_ext_udp = "23"
Restart firewall: rcsusefirewall2 restart
Reconnect to SSH and the connection is successful.