Skip to content

Commit

Permalink
skip agent dispatch if ssh is disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Aug 24, 2024
1 parent 703f8a0 commit ab61a46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xpra/scripts/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -1381,7 +1381,7 @@ def check_xvfb(timeout=0):
if dbus_env:
os.environ.update(dbus_env)

if SSH_AGENT_DISPATCH and not (shadowing or proxying):
if SSH_AGENT_DISPATCH and not (shadowing or proxying) and opts.ssh.lower() not in FALSE_OPTIONS:
progress(50, "setup ssh agent forwarding")
try:
from xpra.net.ssh.agent import setup_ssh_auth_sock
Expand Down

0 comments on commit ab61a46

Please sign in to comment.