import type { SSH , Server } from './interfaces' ; export const sshDefault = { user : process . env . SSHUSER || '' , host : process . env . SSHHOST || 'localhost' , auth : process . env . SSHAUTH || 'password' , pass : process . env . SSHPASS || undefined , key : process . env . SSHKEY || undefined , port : parseInt ( process . env . SSHPORT || '22' , 10 ) , knownHosts : process . env . KNOWNHOSTS || '/dev/null' , config : process . env . SSHCONFIG || undefined , } ; export const serverDefault = { base : process . env . BASE || '/wetty/' , port : parseInt ( process . env . PORT || '3000' , 10 ) , host : '0.0.0.0' , title : process . env . TITLE || 'WeTTY - The Web Terminal Emulator' , allowIframe : false , } ; export const forceSSHDefault = process . env . FORCESSH === 'true' || false ; export const defaultCommand = process . env . COMMAND || 'login' ;