this post was submitted on 15 Jul 2023
11 points (86.7% liked)
Sysadmin
5584 readers
1 users here now
A community dedicated to the profession of IT Systems Administration
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
We make the prompt be user@hostname so no matter what you use it shows what host you're on. This is configurable in .bashrc iirc.
I might also recommend tmux, there's a script you can use to also set prompt in the window view. Though this is best used as a jumpserver setup.