import { useState } from 'react'; import Button from '~/components/Button'; import Card from '~/components/Card'; import Code from '~/components/Code'; import Input from '~/components/Input'; interface UserPromptProps { hostname: string; } export default function UserPrompt({ hostname }: UserPromptProps) { const [username, setUsername] = useState(''); return (
{hostname}
{'. '}
WebSSH follows the Headscale ACLs, so only permitted usernames will be
able to connect.