Skip to content

Commit

Permalink
Daemonize the agent
Browse files Browse the repository at this point in the history
  • Loading branch information
twizmwazin committed Jan 30, 2024
1 parent 53d46d6 commit 15f8886
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion python/binharness/bootstrap/ssh.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@ def bootstrap_ssh_environment_with_client( # noqa: PLR0913
ssh_client.exec_command(f"chmod +x {install_path}")

# Start the agent
_, stdout, _ = ssh_client.exec_command(f"{install_path} {listen_ip} {listen_port}")
_, stdout, _ = ssh_client.exec_command(
f"{install_path} -d {listen_ip} {listen_port}"
)

# Create the agent connection
return SSHAgent(ssh_client, connect_ip, connect_port)
Expand Down

0 comments on commit 15f8886

Please sign in to comment.