.bashrc
is not sourced when you log in using SSH. You need to source it in your .bash_profile
like this:
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
More Related Contents:
- How to permanently add a private key with ssh-add on Ubuntu? [closed]
- ssh breaks out of while-loop in bash [duplicate]
- How to run the sftp command with a password from Bash script?
- How to make a program continue to run after log out from ssh? [duplicate]
- How to install Boost on Ubuntu
- How to place the ~/.composer/vendor/bin directory in your PATH?
- How to specify in crontab by what user to run script? [closed]
- Installing IDEA on Ubuntu 11.10
- Delete all local git branches
- Docker error : no space left on device
- Error “gnu/stubs-32.h: No such file or directory” while compiling Nachos source code
- Openssh Private Key to RSA Private Key
- How to enter ssh password using bash? [duplicate]
- How do I resolve `The following packages have unmet dependencies`
- Python subprocess .check_call vs .check_output
- How to allow Tomcat war app to write in folder
- Make docker use IPv4 for port binding
- access host’s ssh tunnel from docker container
- How to Compile 32-bit Apps on 64-bit Ubuntu?
- How to write a cron that will run a script every day at midnight?
- Passing a variable to a remote host in a bash script with ssh and EOF [duplicate]
- How to have simple and double quotes in a scripted ssh command
- Running graphical Linux desktop applications from WSL 2 – “Error E233: cannot open display” [closed]
- How to check if sed has changed a file
- Installing mod_wsgi for Python3 on Ubuntu
- Unknown encoder ‘libfaac’
- How do I start cron on docker ubuntu base?
- Using a variable’s value as password for scp, ssh etc. instead of prompting for user input every time
- E: Package ‘libssl1.1’ has no installation candidate
- How do I kill a backgrounded/detached ssh session?