Set shortcuts for ssh Login and ssh Login

Source: Internet
Author: User

Set shortcuts for ssh Login and ssh Login

Configure in your own environment ~ /. Ssh/config

Host k231

HostName 192.168.1.231
User kyee

The original ssh Login 192.168.1.231 command is the ssh kyee@192.168.1.231

After the configuration is complete, you only need to enter ssh k231.

Isn't it a lot easier, especially for us that use ssh to log on to every day.


In linux, how does one set the user to log on through SSH software, and can only be active under their own directory/home? Cannot view other system directories?

Chroot, which needs to be configured. You can find it.

In linux, the root user can log on via ssh, but normal users cannot. How can I change the configuration file in etc/ssh/sshd_config?

In the/etc/ssh/sshd_config file, set permitrootlogin to no. Modify/etc/ssh/sshd_config (sshd_config is not necessarily in this path, but you

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.