forked from clan/clan-core
clan: clan ssh
fix password login
This commit is contained in:
parent
72811d0828
commit
e81a7415d8
@ -38,6 +38,10 @@ def ssh(
|
|||||||
f"{user}@{host}",
|
f"{user}@{host}",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if password:
|
||||||
|
_ssh_args.append("-o")
|
||||||
|
_ssh_args.append("IdentitiesOnly=yes")
|
||||||
|
|
||||||
cmd_args = [*password_args, *_ssh_args]
|
cmd_args = [*password_args, *_ssh_args]
|
||||||
if torify:
|
if torify:
|
||||||
cmd_args.insert(0, "torify")
|
cmd_args.insert(0, "torify")
|
||||||
|
Loading…
Reference in New Issue
Block a user