Skip to content

Repository files navigation

stns-server

STNS server settings for vmlmachines and vmlbastion

Setup

  1. Create stns.conf file on stns-server directory.

    port = 1104
    include = "/etc/stns/conf.d/*"
    
    # STNS server-client authentication (basic auth example)
    [basic_auth]
    user = "stnsuser"
    password = "stnspassword"
    
  2. Create .env file on stns-server directory.

    CSV_URL="https://xxxxx.xxx/xxxxx.csv"

    This csv file should follow the format below:

    Timestamp Mail address Username Shell Pubkey (vmlmachines) Pubkey (vmlbastion)
    20XX/01/01 00:00:00 mail@xxxxx user bash ssh-rsa AAAA... ssh-ed25519 AAAA...

    Using Google Forms, you can easily get this csv file and url.

  3. Run scripts to add users.

    ./update-vmlmachines.sh
    ./update-vmlbastion.sh
    
  4. Run stns containers.

    sudo docker-compose up -d
    

Add new user

  1. Run scripts to add users.

    ./update-vmlmachines.sh
    
    # or / and
    
    ./update-vmlbastion.sh
    
  2. Restart stns containers.

    sudo docker-compose restart
    

About

STNS server settings

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages