SSH Autoinstall information

Explanation

This will replace container entrypoint with automated software made by CLORE.AI which will automatically deploy SSH server into your container. This entrypoint install S6 overlay to together run SSH and onstart script. The username for ssh is root

Onstart configuration

The custom entrypoint will create script /root/onstart.sh which will be runned on start of container.
It is important to take into account, that the SSH might take some time to install on first run of the container, so if you are planning on automatically start an app on start of your container we recommend:

1. If using custom container put /root/onstart.sh file into your container

2. Using startup script

Startup script in clore runs only the first time the container is started, might be usefull to auto install apps into your container when starting it. In this case we will use it to create the onstart.sh script
This is example of startup script (In clore order settings), that installs screen and then adds command to run screen named example into /root/onstart.sh
Then in the end it calls s6-svc to restart the onstart service, which if s6 is already installed will start the newly put in commands on the other hand if s6 isn't fully deployed yet it will do nothing and when s6 is deployed it will run your commands in onstart.sh on the first run


#!/bin/sh

export DEBIAN_FRONTEND="noninteractive"
apt update -y
apt install screen -y
echo "screen -dmS example bash" >> /root/onstart.sh
s6-svc -r /var/run/s6/services/onstart

3. Final notes

- Images that force other user than root as default don't work
- Based on machine specs, the setup of SSH might take up to few minutes, please give it time even after it says image status as deployed.
Reached maximum
Remove Template
Remove
Cancel
Save template

Name your template

Template name
Create
Default OC change now allowed
Default OC profile is managed by HiveOS flightsheet, can't write change
Add wallet

Machine Specs

GPU

VRAM | CUDA:

PCIe

Processor

Motherboard

RAM:

Disk

Internet

Upload and download

Mbps

Mbps

Price

Your order
1
Select image
2
Configure order
icon

Select image

icon

Configure order

Port Forwarding
Port number
Add
Environmental Variables
Name
Value
Add
SSH Authorization
Startup script
This isn't container command, it is script, that will be runned inside the container only on first start, it could be used to set up required software...
Username
Access Token
    GPU Count
    GPU VRAM
    GB
    GB
    CPU cores
    Machine RAM
    GB
    GB
    Minimum Reliability
    %
    Upload speed
    Mb/s
    Mb/s
    Download speed
    Mb/s
    Mb/s
          Host
          Server number
          secret :)