SSHD-Online.
Clone this repository.
git clone https://github.com/Luluno01/sshd-online.git
Install dependencies.
npm install
Build.
npm run build
Create initial user.
npm run createUser -- <username> <password>
Set environment variable DB_URL
(for database) and run server.
Note: SSHD-Online uses sqlite3
by default. If you want to use other sequelize dialect, you will need to install the desired dialect manually (e.g. npm install mysql2
).
For Linux users:
DB_URL=sqlite:users.db && npm run serve
For Windows users:
set DB_URL=sqlite:users.db&& npm run serve