2.11.1.1.6. Bash settings not saving
When connected to the console, all previously specified aliases may not work, the settings set in .bashrc
like overriding the PHP version, etc. This problem occurs due to the fact that the file is missing .bash_profile
, in which the launch of all settings from .bashrc
... This behavior can occur for connections through third-party SSH clients instead of WebSSH.
To fix the problem, do the following:
- At the root of your hosting account, create a file named
.bash_profile
if it was not created. Please note that there must be a period at the beginning of the file name. - Place the following commands in the file, which, when connected, will execute the rules from the file
.bashrc
:if [ -f ~/.bashrc ]; then . ~/.bashrc fi
- Connect or reconnect to SSH and test the previously configured rules.