convert wetty from submodule to normal directory
This commit is contained in:
28
wetty/conf/config.json5
Normal file
28
wetty/conf/config.json5
Normal file
@@ -0,0 +1,28 @@
|
||||
{
|
||||
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',
|
||||
}
|
||||
*/
|
||||
}
|
||||
Reference in New Issue
Block a user