adminstock / ssa

Web panel for small Debian and Ubuntu servers.
Apache License 2.0
17 stars 10 forks source link

Multiple servers #6

Closed alekseynemiro closed 8 years ago

alekseynemiro commented 8 years ago

Make support for managing multiple servers.

It can be done the following:

  1. By clicking on the IP-address in the panel header must appear a dialog box with a list of available servers

  2. Selecting the server must be stored in localStorage (only IP).

  3. The list of servers in the ssa.config.php:

$config['servers'] = [
  '192.168.56.139' => [
    'display_name' => 'My server'
    'ssh_host' => '192.168.56.139',
    'ssh_port' => '22',
    'ssh_user' => 'ssh username',
    'ssh_password' => 'ssh password here',
    'ssh_required_password' => TRUE
  ]
]
  1. All API requests must pass with IP-address of active server.