My SSH shows "-bash-*". How to change?

When a Xen VPS is delivered and you login for the first time you might see something similar to this:

-bash-3.2#

This "bash" makes it tough to navigate through SSH since it doesn't give you much information. To fix that, you can simply type this in your SSH when logged in:

PS1="[\u@\h \W]\$ "

If you have any other questions please feel free to open a Support Ticket.

  • 3 gebruikers vonden dit artikel nuttig
Was dit antwoord nuttig?

Gerelateerde artikelen

Connecting to your VPS via VNC

This knowledge base article will explain how you can connect to your VNC enabled Linux VPS....

How to set reverse DNS (rDNS)

At the moment you need to open a Helpdesk ticket and provide your IP and PTR record you want set,...

Installing OpenVPN on OpenVZ VPS (CentOS)

You must enable tun/tap and or PPP directly from inside VPS Manager under "settings" tab. then...

How to add website via webmin

This is a great tutorial how you can add new domain/website using webmin....

How do I turn off SELINUX in Redhat or CentOS?

Temporarily switch off enforcement You can switch the system into permissive mode with the...