Skip to content

Commit b654eb3

Browse files
arkaprava08Arkaprava De
andauthored
fix(studio): ssh config causing remote connection errors to SageMaker Studio compute (#8156)
Problem: Incorrect SSH configuration causing connection failures Solution: - Updated SSH config by removing "User '%r'" to properly handle remote connections to Studio compute Co-authored-by: Arkaprava De <[email protected]>
1 parent 8f7ba33 commit b654eb3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/shared/sshConfig.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ Host ${this.configHostName}
208208

209209
protected createSSHConfigSection(proxyCommand: string): string {
210210
if (this.scriptPrefix === 'sagemaker_connect') {
211-
return `${this.getSageMakerSSHConfig(proxyCommand)}User '%r'\n`
211+
return `${this.getSageMakerSSHConfig(proxyCommand)}`
212212
} else if (this.keyPath) {
213213
return `${this.getBaseSSHConfig(proxyCommand)}IdentityFile '${this.keyPath}'\n User '%r'\n`
214214
}

0 commit comments

Comments
 (0)