trzsz / trzsz-ssh

trzsz-ssh ( tssh ) is an ssh client designed as a drop-in replacement for the openssh client. It aims to provide complete compatibility with openssh, mirroring all its features, while also offering additional useful features. Such as login prompt, batch login, remember password, automated interaction, trzsz, zmodem(rz/sz), udp mode like mosh, etc.
https://trzsz.github.io/ssh
MIT License
1.76k stars 103 forks source link

希望连接之后,修改标题名称为ip地址 #65

Closed scstc closed 11 months ago

scstc commented 11 months ago

image

lonnywong commented 11 months ago

建议用这种方式:https://github.com/trzsz/trzsz-ssh/issues/38#issuecomment-1661396833

lonnywong commented 11 months ago

已在 README 中添加相应的说明。

lonnywong commented 11 months ago

@scstc v0.1.16~/.tssh.conf 中配置 SetTerminalTitle = Yes,就支持自动修改标题了。 强烈建议仔细阅读 README 中关于 PROMPT_COMMAND 相关的说明。