Configure the SSH service and use the SecureCRT tool in Ubuntu

Source: Internet
Author: User
I am used to this kind of operation because I am usually developed on Windows. It is inconvenient to write code in Linux. What should I do? So I found a remote login tool SecureCRT, this tool requires the support of the SSH service, which is much safer than the plain text transmission using the TELNET service. SSH is transmitted in ciphertext. How can I configure it. First, back up the built-in Source: sudocp/etc/apt/s

I am used to this kind of operation because I am usually developed on Windows. It is inconvenient to write code in Linux. What should I do? So I found a remote login tool SecureCRT, this tool requires the support of the SSH service, which is much safer than the plain text transmission using the TELNET service. SSH is transmitted in ciphertext. How can I configure it.

First, back up the built-in Source: sudo cp/etc/apt/sources. list/etc/apt/sources. list_backup

Then, modify the Source: sudo gedit/etc/apt/sources. list to select a fast source, replace the original content, and save it.

Update the package list: sudo apt-get update install system updates

Click System-Administrator-Update Manger in sequence to install and restart the System.

Install, configure, and enable the ssh service sudo apt-get install openssh-server

Openssh-client is installed by default in Ubuntu, so it is not installed here. If your system is not installed, use apt-get to install it.

Then confirm whether sshserver has started: ps-e | grep ssh

If only ssh-agent is available, the ssh-server has not been started./etc/init. d/ssh start is required. If you see sshd, 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 it as another port number. To ensure security, we recommend that you change the port and restart the SSH service:

Sudo/etc/init. d/ssh resart

When SecureCRT is opened for the first time, the configuration setting window is displayed. You need to enter username/password: Linux Account password; hostname: It can be IP address 192.168 ....., port 22 is the default port of the SSH service. Other ports can be connected by default. Of course, the premise is that Windows and Linux can communicate with each other, you can PING each other's IP address. If you don't want to talk about it, refer to my previous blog.

Actually, another tool for eclipsecurecrtis putty.exe. If you are interested, you can try it. However, I still use secureCRT. Another feature is serial port debugging, a tool similar to a Super Terminal. I personally think it is better to use it than a Super Terminal. I will not talk about the specific settings, that is, writing a port, if you select baudrate or parity, you can select serial in the pop-up window. The default service is SSH.

Now, let's get the environment ready today. If we learn more about technology tomorrow, we feel like Linux is quite simple.

For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2

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.