Skip to content

Linux Install Script

Joe edited this page Jul 24, 2021 · 8 revisions

This script will install the latest version of Sliver as a systemd service, installs Windows cross-compiler dependencies (mingw), and setup multiplayer for the current user. After running the script connect locally by running sliver

https://github.com/BishopFox/sliver/blob/master/docs/install

This script should work on Kali, Ubuntu, and RHEL (CentOS, etc) distributions of Linux.

One Liner

curl https://sliver.sh/install|sudo bash
  • Installs server binary to /root/sliver-server
  • Installs mingw
  • Runs the server in daemon mode using systemd
  • Installs client to /usr/local/bin/sliver
  • Generates multiplayer configuration for current user

Systemd Service

The following systemd configuration is used:

[Unit]
Description=Sliver
After=network.target
StartLimitIntervalSec=0

[Service]
Type=simple
Restart=on-failure
RestartSec=3
User=root
ExecStart=/root/sliver-server daemon

[Install]
WantedBy=multi-user.target
Clone this wiki locally