SSH telnet to the Linux live system

Source: Internet
Author: User

To SSH telnet, you need to prepare two things: Configure the same network segment IP and open the SSH service.


Because the live system does not have an IP, you first need to configure the IP.

My live system is started on the virtual machine, the IP of the host IP for the 192.168.230.1,live system is set to 192.168.230.180:

#ifconfig eth0 192.168.230.180

Then connect the live system on the SECURITYCRT and enter the password to find that the live system does not have a user password. If you do not lose the password or enter a password, SECURITYCRT is not allowed to connect. So you need to configure the password on the live system, the live system is the root user login by default. Use the passwd command to modify the password.


Next enter the password connection will output the following failure message, because the live system SSH service does not open:

The remote system refused the connection.


Next turn on the SSH service for the live system:

#/etc/rc.d/init.d/sshd start


Then use the SECURITYCRT connection to succeed:

Last Login:sat 13:14:34 2014lfslivecd:root | Sat 31 13:24:42 2014 | ~#

To summarize, there are three steps in total:

1. Configure IP

2. Set Root password

3. Open SSH Service


Note:

If you start the SSH service and then set the root password, you will need to restart the SSH service after setting the root password.

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.