SSH Designated login user

Source: Internet
Author: User
Specify login User

By default, SSH attempts to connect with the current user as the user name. In the example command above, SSH attempts to log on to the server using the user's name Pungki, because the user pungki is using the SSH client software on the client computer.

If the target host is not called Pungki users. Then you must provide a username that exists on the target host. To specify a user name from the outset, you can use the-l option parameter.

$ ssh-l Leni 192.168.0.103 

The complete screenshot of the operation is as follows

We can also enter this way:

$ ssh leni@192.168.0.0103 

Operation screenshot as follows,


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.