Securecrt reports the remote system refused the connection.

Source: Internet
Author: User
Tags ssh server
Securecrt the remote system refused the connection. This is because Ubuntu 12 has just been installed and SSH server has not been installed. Follow these steps:

Sudo apt-Get install OpenSSH-serverubuntu is installed with OpenSSH-client by default, so it is not installed here. If your system is not installed, use apt-get to install it. Then confirm whether the sshserver has started: PS-E | grep ssh. If only SSH-agent is enabled, the ssh-server has not been started./etc/init is required. d/ssh start. If you see sshd, it indicates that the ssh-server has been started. The SSH-server configuration file is located in/etc/ssh/sshd_config. Here, you can define the SSH service port. The default port is 22. You can define other port numbers, such as 222. Then restart the SSH service: sudo/etc/init. d/ssh resarssh connection: SSH linuxidc@192.168.1.11. First install the SSH server on the server. $ Sudo aptitude install openssh-server2. Start ssh-server. $/Etc/init. d/ssh restart3. make sure that the ssh-server is working properly. $ Netstat-tlptcp6 0 0 *: SSH *: * listen-the above output indicates that the ssh-server is already running. 4. log on to the server through SSH on the client. Assume that the IP address of the server is 192.168.0.103, And the logon username is hyx. $ Ssh-l hyx 192.168.0.103 then you will be prompted to enter the password, and then you will be able to successfully log on to the server.

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.