Get the arguments for SSHing to destination specified by opts.
(self, opts: SSHOpts)
| 93 | """Wrapper around ssh & scp utilities.""" |
| 94 | |
| 95 | def ssh_args(self, opts: SSHOpts) -> list[str]: |
| 96 | """Get the arguments for SSHing to destination specified by opts.""" |
| 97 | return [ |
| 98 | "ssh", |
| 99 | *opts.to_args(), |
| 100 | opts.host, |
| 101 | ] |
| 102 | |
| 103 | def ssh(self, opts: SSHOpts) -> None: |
| 104 | """SSH to the destination specified by opts.""" |
no test coverage detected