This question already has an answer here:
on Centos 6.x,
I am adding some path
but if it's not effective when I login via SSH
it only shows if I type
What am I doing wrong?
(N.B. for logging via SSH I use the following alias:
alias ssh-server='ssh -t user@server "cd /some/dir/ ; bash")