(no title)
exq | 6 months ago
This may be of use to you or someone else reading the thread. You can set your bash prompt to show user@host when connected via SSH:
if [ -n "$SSH_CONNECTION" ]; then
export PS1="\u@h:\w$ "
fiexq | 6 months ago
This may be of use to you or someone else reading the thread. You can set your bash prompt to show user@host when connected via SSH:
if [ -n "$SSH_CONNECTION" ]; then
export PS1="\u@h:\w$ "
fi
No comments yet.