Use ssh to log on without executing. bashrc solution
Source: Internet
Author: User
Ssh login is not performed. bashrc solution: recently, when logging on to a remote server, we found that. bashrc cannot be executed. in bashrc, the configured auto-completion and ls color were not executed. it was very depressing. after reading a lot of information online, I suddenly realized that... ssh login is not performed. bashrc solution: recently, when logging on to a remote server, we found that. bashrc cannot be executed. the auto-completion and ls Color items configured in bashrc were not executed. They were very depressing. after reading a lot of information on the Internet, they finally suddenly woke up. Solution: (1) first, check if your user is using bash to log on to [plain] $ echo $ SHELL/bin/sh. Because sh is used by default instead of bash when assigning users to me, it is useless to set bashrc! Solution: enter bash directly! If you want to directly use bash for each login, Enter the following command: [html] $ chsh Password: Changing the login shell for guojun Enter the new value, or press ENTER for the default Login Shell [/bin/sh]:/bin/bash now exit and try again. it's normal!
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.