How to Use SecureCRT6.6.2 to log on to Ubuntu through SSH

Source: Internet
Author: User
1. You must know that openSSH is not installed in Ubuntu by default. Therefore, the first step is to install openSSH. The command is as follows: sudoapt-getinstallopenssh-serverUbuntu has openssh-client installed by default, so you don't need to install it here. After the installation is complete, run the following command to check whether the sshserver is started: ps-e | grepssh. If only the ssh-agent is displayed

1. You must know that openSSH is not installed in Ubuntu by default. Therefore, the first step is to install openSSH. The command is as follows:

Sudo apt-get install openssh-server

Openssh-client is installed in Ubuntu by default, so you do not need to install it here.

After the installation is complete, run the following command to check whether the sshserver is started:

Ps-e | grep ssh

If you only see the ssh-agent, it indicates that the ssh-server has not been started. You need the following command to start the ssh-server:

/Etc/init. d/ssh start

If you see sshd, it indicates that the ssh-server has been successfully 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.

After modifying the configuration file, you must restart the SSH service. The command is as follows:

Sudo/etc/init. d/ssh restart

Or:

Sudo service ssh restart

2. Use SecureCRT to create the public key and private key. The command path is as follows:

Quick Connect-> Authentiation-> Public Key-> Properties-> Create Identity File-> DSA/RSA-> Set Passphrase-> Done

The specific commands are as follows:

A. Start Quick Connect dialog box

Related Article

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.