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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy