mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-04-29 12:10:57 +00:00
SSH + chat deletion fix
fix for chat file removal fix for ssh banners
This commit is contained in:
parent
31494490c0
commit
ba2d5c7a67
4 changed files with 13 additions and 4 deletions
|
|
@ -33,7 +33,12 @@ class SSHInteractiveSession:
|
|||
while True:
|
||||
try:
|
||||
self.client.connect(
|
||||
self.hostname, self.port, self.username, self.password
|
||||
self.hostname,
|
||||
self.port,
|
||||
self.username,
|
||||
self.password,
|
||||
allow_agent=False,
|
||||
look_for_keys=False,
|
||||
)
|
||||
self.shell = self.client.invoke_shell(width=160, height=48)
|
||||
# self.shell.send(f'PS1="{SSHInteractiveSession.ps1_label}"'.encode())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue