SecureCRT cannot be used to connect to the server in Ubuntu

Source: Internet
Author: User
Tags ssh server

SecureCRT cannot be used to connect to the server in Ubuntu

Virtual Machine usage

1. Command to install the SSH server

Sudo apt-get install openssh-server

2. Enter the command

Ps | grep ssh check if the SSH service is enabled

Show that the service is enabled

3. modify configuration

Sudo vi/etc/ssh/sshd_config

Comment out the "PermitRootLogin without-password" in the configuration file and add "#", and then add "PermitRootLogin yes" to save the file, as shown in. This is done to allow the root user to log on

An error is reported when you try to connect to the scure_CRT client after saving and exiting.

 

Solution:

Enter the SSH client

For example, remove the annotator and use port 22.

Open the configuration file again, and then remove the annotator of the following two lines to enable key authentication.

It may not be copied. You can use cat to view the information and copy it in the Command window.

For example, click copy. The copy is successful.

Then, use vi/etc/ssh/sshd_config to open and modify the server configuration file. The client was previously modified. (D is the server side)

Run the reboot command to restart the VM and then enable the ssh service:

At this time, we can successfully connect.

Use SecureCRT to log on to the Linux Server

A Password error is prompted during SSH connection to SecureCRT.

Use SecureCRT in Linux to upload and download files

Ubuntu 12.04 + Virtual Machine VMware 9 + Secure CRT + EditPlus local C ++ Development Environment setup

Use SecureCRT to transfer files between Linux and Windows

Chinese characters of SecureCRT are garbled

Use SecureCRT to connect to the Linux system (Ubuntu) in the Virtual Machine)

SecureCRT8.0 set syntax highlighting

Virtual Machine CentOS NAT Mode Networking and SecureCRT remote login management tools

SecureCRT details: click here
SecureCRT: click here

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.