Solve the problem of Internet access and remote logon in Solaris, and perform remote logon in solaris.

Source: Internet
Author: User

Solve the problem of Internet access and remote logon in Solaris, and perform remote logon in solaris.

Reference http://www.jb51.net/ OS /Solaris/1656.htmlSolution to display garbled characters on solaris

 

Symptom:

Use the command: LANG = zh; export LANG. Or LANG = C; export LANG

Of course, we can also set them all. LC_ALL = zh; export LC_ALL.

Download the software from the pc: secureCRT is shown below:

Then establish the connection:

Select ssh protocol

Enter the Host Name and User Name

Then, the default setting is complete.

After that, double-click the host name. If everything else is OK, go to the solaris interface.

There will be two situations so far

References:

Http://wenku.baidu.com/link? Url = _ blank & qq-pf-to = pcqq. group

Vmwarevm RedHat linux networking tutorial

Generally, there are three types of VM connections: host-only, bridging, and nat. The previous one cannot access the Internet, but can access the Intranet. DHCP servers must be configured to access the Internet through bridging. Nat connects virtual machines to the real system through network address translation.

In this case, you only need to set the attributes of several files in the solaris system.

Comment out the CONSOLE =/dev/console comment in the/etc/default/login file # Do not make a mistake.

Change the string in the 105 and 128 rows in/etc/ssh/sshd_config

 

And make it take effect to restart the service

Svcadm restart ssh (svcadm is a tool for managing services)

 

Remote login configuration has been completed

Open the connection you just created, and double-click it. Enter the password to log on directly. Later we can use this to operate unix systems.

On this interface, we cannot use gedit to open files. We can only use vi to operate all files.

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.