{{ __('terminal.host_setup_title') }}

{{ __('terminal.host_setup_subtitle') }}

@if ($configured) {{-- Make the saved state unmistakable: the stored secret is never shown (security), so without this the empty password field reads as "not configured". --}}
{{ __('terminal.host_configured_note', ['user' => $username]) }}
@endif
{{-- Target is fixed to the local machine (the Docker host) — only the login is asked for. --}}
@error('username')

{{ $message }}

@enderror
@error('port')

{{ $message }}

@enderror
@if ($authType === 'key') @else @endif @error('secret')

{{ $message }}

@enderror
@if ($authType === 'key')
@endif

{{ __('terminal.host_security_note') }}

@if ($configured) {{ __('terminal.host_remove') }} @endif
{{ __('common.cancel') }} {{ __('terminal.host_save') }}