feat: 🎸 Add flag to ssh command to not prompt for known hosts (#1894)
This commit is contained in:
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
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user