不是这个。
你可以试下
PS1='\[\e]2;\h:\W\007\][\u@\h \D{%Y-%m-%d} \t \w]$'
然后在securecrt里看下效果
【 在 hgoldfish 的大作中提到: 】
: 这个是 ssh 的功能吧?
: Additionally, ssh reads ~/.ssh/environment, and adds lines of the format “VARNAME=value” to the environment if the file exists and users are allowed to change their environment. For more information, see the PermitUserEnvironment
: option in sshd_config(5).
: ...................
--
FROM 113.116.182.*