Please have a look what kind of output you get when you type echo $PS1 in your terminal.
Is it the same long string there?
If yes have a look in the file ~/.bashrc if you can remove the string there. (.bashrc is a hidden file in /home/username/.bashrc)
It should be something like
PS1= long string
If there is such an entry, please put a # in front of the PSI= variable to see if the prompt gets normal.
You have to reopen with ssh to see the result.
The latest systemd (in Fedora 43) expects that it is communicating with an ANSI-standard terminal emulator, and gives weird behaviour with non-ANSI terminals.
Yes. I found that the environment $TERM, which value couldn’t be changed with command export TERM=‘’, maybe has relation with the result.
It’s always “08;end=xxxxxxxx-xxxx-xxxx-899f-xxxxxxxx0e8e;exit=success08;start=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx;user=root;hostname=localhost;machineid=xxxxxxxxxxxx4cb99f4df0866d86fa07;bootid=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx;pid=1111;type=shell;cwd=/root”
P.S.
It’s ok when I login console or ssh with tabby client.
Currently It’s wrong when I use SecureCRT client.