mirror of
https://github.com/YunoHost-Apps/wetty_ynh.git
synced 2024-09-03 18:16:29 +02:00
30 lines
1.5 KiB
Text
30 lines
1.5 KiB
Text
// 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: {
|
|
base: '__PATH_URL__', // URL base to serve resources from
|
|
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',
|
|
}
|
|
*/
|
|
}
|