I just got a new server and as I wanted to transition from Ubuntu to Debian, installed Debian 10 on there. Im Using OpenSSH provided by Windows to login (OpenSSH_for_Windows_7.7p1, LibreSSL 2.6.5) I now have the problem that when I have both servers open, one does have the current user and the hostname of my machine, as well as the current director I'm in, "OpenSSH SSH Client" and I would like to change that.
I so far figured out that I can change my window title to something with this command:
echo -ne "\033]0;Test\007"
in this case to Test.
Now my question, how do I change that on a sucessfull connection and depending on the user and hostname (which in this case is static, but I would like to know that for the future)?
Since I'm new And Can't embed Pictures, here's the Direct Link: https://i.stack.imgur.com/BUKjt.png