mirror of https://github.com/jumpserver/jumpserver
parent
6168ab270f
commit
949065be2c
|
@ -258,7 +258,7 @@ def connect(username, password, host, port, login_name):
|
|||
"""
|
||||
Connect server.
|
||||
"""
|
||||
ps1 = "PS1='[\u@%s \W]\$ '\n" % host
|
||||
ps1 = "PS1='[\u@%s \W]\$ ' && TERM=xterm && export TERM\n" % host
|
||||
login_msg = "clear;echo -e '\\033[32mLogin %s done. Enjoy it.\\033[0m'\n" % host
|
||||
|
||||
# Make a ssh connection
|
||||
|
|
Loading…
Reference in New Issue