Suse11.2 unable to log on after installing and starting ssh Through ssh-network

Source: Internet
Author: User
Tags putty settings


Suse11.2 ssh installation and startup of ssh cannot be logged in-network 1. Start sshd in SuSE Linux: Command Line: rcsshd startYaST: sshd not found. But when all inetd services are enabled, ssh is available, odd! When I find the authority, modify this article. 2. Configure the SSH service: 1. modify the configuration file # vi/etc/ssh/sshd_config www.2cto.com 2. find # PermitRootLogin no and change it to PermitRootLogin yes. This version was installed later, and it seems that its gome desktop is better than Ubuntu8 and Fedora. In fact, everyone uses the same thing. This time I encountered some trouble when using SSH on SUSE, so I would like to sum up my little experience. SSH, or SecureShell, is a network protocol that allows a secure channel between two computers to exchange data. OpenSSH toolkit is installed by default in general Linux releases, such as Ubuntu and SUSE. After the system is installed and restarted, The SSHDaemon that serves as the server will be started as one of the system services (Note: daemon is interpreted as a daemon process ). An SSH tool is also installed. Part of the openSSH package is a remote client program. Default installation path: ssh-/usr/bin/ssh configuration file/etc/ssh/ssh_configsshd-/usr/sbin/sshd configuration file/etc/ssh/sshd_config I just want to log on with the password method, therefore, the PasswordAuthentication parameter in the/etc/ssh/sshd_config file is modified. The default value is no, which means password authentication is not allowed for logon. This parameter is also available in/etc/ssh/ssh_config by default. The default value is yes, so you do not need to modify it. After modifying the parameters, enter sshrestart in the command line and restart the sshd service. The problem with www.2cto.com this time is that after logging on to SUSE, you can use ssh192.168.2.101 on the command interface to log on normally. However, when you use putty to log on to another Windows system, the connection times out and logon fails! There is no problem with the putty settings, so the problem may be the communication between the SUSE system itself or the two computers. Run yast to view the status of the sshd service. Enter yast in the command line and press enter to start the yast interface. Select "System> SystemServices (Runlevel)" to open the SystemServices (Runlevel): Services interface, check that the sshd status is Enabled. Use the function key Alt E to go to ExpertMode and observe that the current sshd is running in Runlevel5 (Fullmultiuserwithnetworkanddisplaymanager. Check it on the Internet. Someone mentioned in a forum that it was necessary to disable firework to check firewall. Select "SecurityandUsers> Firewall" in yast, modify the ServiceStart startup mode to Manually on the Firewallconfiguration interface, and then run "StopFirewallNow" to save the changes! Author xuhongwei0411

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.