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 b76bd51 commit 78454d9Copy full SHA for 78454d9
packages/core/src/shared/extensions/ssh.ts
@@ -128,9 +128,10 @@ export async function testSshConnection(
128
session: SSM.StartSessionResponse
129
): Promise<void> {
130
try {
131
+ const env = { SESSION_ID: session.SessionId, STREAM_URL: session.StreamUrl, TOKEN: session.TokenValue }
132
await new ProcessClass(sshPath, ['-T', `${user}@${hostname}`, 'echo connected && exit']).run({
133
spawnOptions: {
- env: { SESSION_ID: session.SessionId, STREAM_URL: session.StreamUrl, TOKEN: session.TokenValue },
134
+ env,
135
},
136
})
137
} catch (error) {
0 commit comments