mirror of
https://github.com/jumpserver/jumpserver.git
synced 2026-02-21 06:22:23 +00:00
Merge remote-tracking branch 'github/dev' into dev
This commit is contained in:
@@ -93,7 +93,7 @@ class JMSInventory(BaseInventory):
|
||||
|
||||
if gateway.password:
|
||||
proxy_command_list.insert(
|
||||
0, "sshpass -p {}".format(gateway.password)
|
||||
0, "sshpass -p '{}'".format(gateway.password)
|
||||
)
|
||||
if gateway.private_key:
|
||||
proxy_command_list.append("-i {}".format(gateway.private_key_file))
|
||||
|
||||
Reference in New Issue
Block a user