8000 update SSH command example to include agent name · coder/coder@a17dc3d · GitHub
[go: up one dir, main page]

Skip to content

Commit a17dc3d

Browse files
committed
update SSH command example to include agent name
1 parent 11b59c7 commit a17dc3d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

site/src/modules/resources/SSHButton/SSHButton.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ interface AgentSSHButtonProps {
2525

2626
export const AgentSSHButton: FC<AgentSSHButtonProps> = ({
2727
workspaceName,
28+
agentName,
2829
sshSuffix,
2930
}) => {
3031
const paper = useClassName(classNames.paper, []);
@@ -55,7 +56,7 @@ export const AgentSSHButton: FC<AgentSSHButtonProps> = ({
5556
/>
5657
<SSHStep
5758
helpText="Connect to the agent:"
58-
codeExample={`ssh ${workspaceName}.${sshSuffix}`}
59+
codeExample={`ssh ${agentName}.${workspaceName}.${sshSuffix}`}
5960
/>
6061
</Stack>
6162
</ol>

0 commit comments

Comments
 (0)
0