feat: 🎸 Add flag to ssh command to not prompt for known hosts (#1894)

This commit is contained in:
Zhihe Li committed 2023-09-22 18:58:14 -04:00
1 parent 6d7624bc9f
commit 5aa425ee05
1 file changed
+4 -1
@@ -44,7 +44,10 @@ export default class SessionTerminalTabsComponent extends Component {
const { proxy_address, proxy_port } = model;
// Send an SSH command immediately
window.terminal.send(`ssh ${proxy_address} -p ${proxy_port}\r`, this.id);
window.terminal.send(
`ssh ${proxy_address} -p ${proxy_port} -o NoHostAuthenticationForLocalhost=yes\r`,
this.id
);
}
}