diff --git a/app/pages/project/instances/instance/tabs/ConnectTab.tsx b/app/pages/project/instances/instance/tabs/ConnectTab.tsx index a99764d0f..0e6bdec8f 100644 --- a/app/pages/project/instances/instance/tabs/ConnectTab.tsx +++ b/app/pages/project/instances/instance/tabs/ConnectTab.tsx @@ -15,6 +15,7 @@ import { getInstanceSelector, useInstanceSelector, useProjectSelector } from '~/ import { buttonStyle } from '~/ui/lib/Button' import { SettingsGroup } from '~/ui/lib/SettingsGroup' import { cliCmd } from '~/util/cli-cmd' +import { links } from '~/util/links' import { pb } from '~/util/path-builder' ConnectTab.loader = async ({ params }: LoaderFunctionArgs) => { @@ -27,7 +28,7 @@ ConnectTab.loader = async ({ params }: LoaderFunctionArgs) => { } const InlineCode = ({ children }: { children: ReactNode }) => ( - + {children} ) @@ -43,17 +44,10 @@ export function ConnectTab() { // default to a floating IP; fall back to ephemeral IP, if it exists const externalIp = (floatingIps?.[0] || externalIps?.items?.[0])?.ip const sshCopy = externalIp ? ( - <> -

- If you specified SSH keys when you created this instance, you can connect to it - through an external IP: ssh [username]@{externalIp} -

-

- The [username] in the SSH command will depend on your - instance’s boot disk’s OS, but might be debian,{' '} - ubuntu, arch, etc. -

- +

+ If you specified SSH keys when you created this instance, you can connect to it + through an external IP: ssh [username]@{externalIp} +

) : (

If you specified SSH keys when you created this instance, you can create an external @@ -90,7 +84,7 @@ export function ConnectTab() {

Read our{' '}