Since trying to install drush on my web server ssh my prompt has changed to -jailshell-4.1$. It used to be [~] #. I dont seem to be able to change it even when i close the session and re open it still sarts the prompt with -jailshell-4.1$ once logged in.

Any help would be much appreciated as I am new to ssh and am using the putty application.

Kind Regards,


There is a command escape sequence that you can use with bash to set your prompt. Read the bash man page for information on how to set this. The default version can be seen in /etc/bashrc. It is likely that ssh is configured to use another rc or login file to set the prompt.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.