You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
1.4 KiB
28 lines
1.4 KiB
{
|
|
ssh: {
|
|
// user: 'username', // default user to use when ssh-ing
|
|
host: 'localhost', // 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: '/wetty/', // URL base to serve resources from
|
|
port: 3000, // Port to listen on
|
|
host: '0.0.0.0', // 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',
|
|
}
|
|
*/
|
|
}
|
|
|