Remote Connection tool SSH and Linux connections

Source: Internet
Author: User

in actual development, Linux servers are in other places, we have to connect to Linux through remote way to operate it, Linux remote operation tools are many, enterprises commonly used in Puttty, SECURECRT, SSH secure and so on. I use the SSH Secure tool for remote connection, which is a free graphical interface and a remote tool set in the command-line window.

SSH secure is what Baidu Encyclopedia has a more detailed answer. Https://baike.baidu.com/item/ssh/10407?fr=aladdin

Remote Tools SSH and Linux connection troubled me for several days, finally solved, the reason is not to the virtual machine networking and no W10 system ping interoperability.

1. The installation steps are not explained in detail on the Internet download SSH This tool, in a button "fool-type" installation.

2. The installation will show two icons.

3. We click on the graphical interface icon.

Host Name: The IP address under the virtual machine, how to view it into the virtual machine Terminal input Command Ifcofig

What if I don't have an IP address after ifconfig?

Locate the virtual machine right-click button to enter the settings.

And then shut down or hang up your virtual office.

Find the Edit----virtual Machine Network editor at the top of VMware

Select Restore default Settings

Wait a moment before restarting your virtual machine. Then enter the virtual machine terminal input Ifconfig to see your virtual machine IP address, this time the IP address has.

Check whether the ping is connected to the host or not.

My host is the window 10 system, window+r input cmd into the system command line, enter the command ping + IP address of the virtual machine

Here is the IP address of my virtual machine

Here's how to check if the ping is connected to the host or not

This is the time to do our SSH login, if it fails, shut down the firewall in the virtual machine and run SSH

Open Terminal Input command su means probably the highest privilege to shut down the firewall, etc.

The above steps completed the connection SSH basically also succeeded ....

User name: username to log on to the virtual machine

Port: Ports, default 22, if you need to modify the port number to talk about how to modify

Authentication: No need to take care of the identity authentication.

Then enter the password

Enter the interface

About the remote tool garbled solution:

when using remote Tools to connect, if Linux has a Chinese file or directory, the display will appear garbled, because the Linux encoding is UTF-8, and the remote tool by default is the current system local encoding is GBK. So the solution is to unify the two code is OK, but the SSH secure tool can not set the encoding, so by modifying the Linux system encoding method for uniform encoding.

in the Linux/etc/sysconfig directory there is a i18n file that represents the Linux system encoding

move it from UTF-8 modified to GBK to reproduce the connection to Linux:

Remote Connection tool SSH and Linux connections

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.