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 11b59c7 commit a17dc3dCopy full SHA for a17dc3d
site/src/modules/resources/SSHButton/SSHButton.tsx
@@ -25,6 +25,7 @@ interface AgentSSHButtonProps {
25
26
export const AgentSSHButton: FC<AgentSSHButtonProps> = ({
27
workspaceName,
28
+ agentName,
29
sshSuffix,
30
}) => {
31
const paper = useClassName(classNames.paper, []);
@@ -55,7 +56,7 @@ export const AgentSSHButton: FC<AgentSSHButtonProps> = ({
55
56
/>
57
<SSHStep
58
helpText="Connect to the agent:"
- codeExample={`ssh ${workspaceName}.${sshSuffix}`}
59
+ codeExample={`ssh ${agentName}.${workspaceName}.${sshSuffix}`}
60
61
</Stack>
62
</ol>
0 commit comments