We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3904df6 commit 7a8684aCopy full SHA for 7a8684a
scripts/ssh.py
@@ -72,7 +72,7 @@ def main():
72
try:
73
if args.container:
74
commands = {
75
- name: f"docker -H ssh://{pc.user}@{pc.hostname} exec -it {args.container} /bin/bash"
+ name: f"docker -H ssh://{pc.user}@{pc.hostname}:{pc.port} exec -it {args.container} /bin/bash"
76
for name, pc in robot.remote_pcs.items()
77
}
78
else:
@@ -84,7 +84,7 @@ def main():
84
pc = robot.remote_pcs[remote_pc]
85
86
87
- remote_pc: f"docker -H ssh://{pc.user}@{pc.hostname} exec -it {args.container} /bin/bash"
+ remote_pc: f"docker -H ssh://{pc.user}@{pc.hostname}:{pc.port} exec -it {args.container} /bin/bash"
88
89
90
if not pc.has_command("ssh"):
0 commit comments