Skip to content

Commit 807865b

Browse files
author
Arkaprava De
committed
BugFix for Studio remote connection ssh config
1 parent fdef5cc commit 807865b

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)