Log on to a remote Linux System Using ssh in a Linux environment

Source: Internet
Author: User
Tags openssh server
Use ssh to log on to the remote Linux system-Linux Enterprise Application-Linux server application in Linux. For more information, see the following. The ssh command in Linux is the client program of OpenSSH. To log on to a remote Linux system, make sure that the OpenSSH server is started on the remote Linux system. The command format for logging on to the remote OpenSSH server using the ssh command is:

$ User @ IP address or FQDN of the remote host on the ssh remote host

The following describes how to log on to a remote Linux system using an ssh command. The following is an example of using the ssh command to log on to the remote CentOS System in Linux.

# Log on to the CentOS system with the IP address 192.168.0.101 as the root user

Osmond @ ubuntu :~ $ Ssh root@192.168.0.101.
The authenticity of host' 192. 168.0.101 (192.168.0.101) 'can't be established.
RSA key fingerprint is 6e: 62: 70: 0a: b9: d7: fe11: 7f: 78: b0: af: 28: 69: 7c.
Are you sure you want to continue connecting (yes/no )? Yes

# If you use this account for ssh Login for the first time, you must confirm the key and select yes to continue the logon process.

Warning: Permanently added '192. 168.0.101 '(RSA) to the list of known hosts.
Root@192.168.0.101's password:

# Enter the password of the root user on host 192.168.0.101.

Last login: Sun Dec 9 01:18:13 2007

[Root @ maid ~] #

# A Shell prompt appears after a correct Logon

[Root @ maid ~] # Logout

# Enter the logout command to log out of a remote connection

Connection to 192.168.0.101 closed.
Osmond @ ubuntu :~ $

# Return local Shell
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.