2021-02-07 12:20:14 +01:00
|
|
|
// Extracted from Wetty sources conf/config.json5
|
|
|
|
|
|
|
|
{
|
|
|
|
ssh: {
|
|
|
|
// user: 'username', // default user to use when ssh-ing
|
|
|
|
host: '__DOMAIN__', // Server to ssh to
|
|
|
|
auth: 'password', // shh authentication, method. Defaults to "password", you can use "publickey,password" instead'
|
|
|
|
// pass: "password", // Password to use when sshing
|
|
|
|
// key: "", // path to an optional client private key, connection will be password-less and insecure!
|
|
|
|
port: 22, // Port to ssh to
|
|
|
|
knownHosts: '/dev/null', // ssh knownHosts file to use
|
|
|
|
// config: '/home/user/.wetty_ssh_config', // alternative ssh configuration file, see "-F" option in ssh(1)
|
|
|
|
},
|
|
|
|
server: {
|
2023-06-09 22:09:36 +02:00
|
|
|
base: '__PATH__', // URL base to serve resources from
|
2021-02-07 12:20:14 +01:00
|
|
|
port: __PORT__, // Port to listen on
|
|
|
|
host: '127.0.0.1', // address to listen on
|
|
|
|
title: 'WeTTy - The Web Terminal Emulator', // Page title
|
|
|
|
bypassHelmet: false, // Disable Helmet security checks
|
|
|
|
},
|
|
|
|
|
|
|
|
forceSSH: false, // Force sshing to local machine over login if running as root
|
|
|
|
command: 'login', // Command to run on server. Login will use ssh if connecting to different server
|
|
|
|
/*
|
|
|
|
ssl:{
|
|
|
|
key: 'ssl.key',
|
|
|
|
cert: 'ssl.cert',
|
|
|
|
}
|
|
|
|
*/
|
|
|
|
}
|