Quantcast
Channel: Active questions tagged ssh - Ask Ubuntu
Viewing all articles
Browse latest Browse all 879

ssh doest not trigger source .bash_profiles

$
0
0

04.5 LTS. A server admin create my account, but it is little bit different with what I know. It seems like ssh does not trigger source $HOME/.bash_profile`.

I think the account is not completed somehow.How can I examine the problem

symptom:

  • .bash_profile does not work
  • source: not found
  • unable to auto-complete by tab key
  • prompt starts with $, not [user@localhost ~]$

How can I fix this account?

===== UPDATE =====

it comes out that login shell was not bash

$ echo $SHELL/bin/sh

Can I set ssh to bash shell for a specific account?

Do not want to any side effects for other accounts or rebooting system or sshd service.


Viewing all articles
Browse latest Browse all 879

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>