Linux Local login another linux server command

Source: Internet
Author: User

It is easy to log in to another Linux server from Linux under SSH--provided that you have a user account on the remote server. Open the shell terminal and execute the following command

SSH-L login_name hostname

Replace the login_name with the real user account and replace the hostname with the server hostname (or IP address). The following command logs on to a Linux server with an IP address of 192.168.25.99 as the Liu user.

[Email protected] ~]# ssh-l root 192.168.25.99
[email protected] ' s password:
Last Login:tue Jan 09:34:34 from 192.168.25.118
[[email protected] ~]# ls

This article is from the "Boyhack" blog, make sure to keep this source http://461205160.blog.51cto.com/274918/1738529

Linux Local login another linux server command

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.