When instantiating a new service on SlapOS (for example here: webrunner) you can add your ssh private key in the Configuration Parameters directly:
<?xml version="1.0" encoding="utf-8"?>
<instance/>
<parameter id="user-authorized-key">ssh-rsa xxxxxxxxxxxxxxxxx...
</parameter>
<instance/>
Click "Save". To then access the webrunner via ssh, use the ssh-command parameter in connection parameter table below. It will look something like this:
ssh-command ssh slapuserXXX@xxxx:xxx:xxxx:x:xx::xxxx -p xxxxx
Use the command in the terminal. Provide the passphrase associated with your ssh key and make sure you are on a IPv6 network as you are using an IPv6 address in your ssh command. More info on use of IPv6 in SlapOS can be found in the SlapOS architecture Design Document.
Refer to gitlab for the full list of available configuration parameters for a Webrunner and resilient Webrunner.