SlapOS is a decentralized Cloud Computing technology that can automate the deployment and configuration of applications in a heterogeneous environment.
1 - 2 of 2 records


I'm trying to add another SSH key to my authorized keys but it's not really working. I tried replacing the existing key in the authorized_keys file but although it is correctly stored, the git tab still shows the previous key - I believe probably taken from the XML parameter configuration. I also tried adding a different SSH key there, but it also did not work though.

How can I replace the SSH key or better how can I add a second SSH key and have it accessible through the git tab in the webrunner?


Sorry for response delay.  I checked the problem and I couldn't reproduce the bug on webrunner version 1.0.33. I was able to add a second key. Are you using the latest version of webrunner ?

To add multiple SSH keys to webrunner, you must edit your instance parameters and put the second key like bellow.

<?xml version="1.0" encoding="utf-8"?>


    <parameter id="user-authorized-key">ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAu3Rhn+Xzmf//bevX5zqUknA95Q30x61xtBhndH40xx2wFB9EjJ2N3NYBm+kpi3c1trLOKqMIxNxtkTaq5x4u29UTGhcuPVAHo7SlFq1FvJcttniWjjXjp65BzCyecwP4HjS8kbC3byRqc++sHuK6U2LRZP91Wo+D8B+c6b16QpJlGiOZB01oDxPigegq/F2ONi9UDet776+T7Ir8ncEFRZh/s9Dq7Wh4F5ZDKLpBtMYxgObnJp/uBER8J8nHEeRVc8wRwsHRQVY7wiIhH5KNm38F7tA9mjKgj6neaSRNGJFxLwfnGEFE61z474IUim8bQLChG3xiNCtWNxQULN4qSJAyjI38DprivWU6EipyLt/7fP05t75TT chronos@localhost
sh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAu3Rhn+Xzmf//bevX5zqUknA95Q30x61xtBhndH40xx2wFB9EjJ2N3NYBm+kpi3c1trLOKqMIxNxtkTaq5x4u29UTGhcuPVAHo7SlFq1FvJcttniWjjXjp65BzCyecwP4HjS8kbC3byRqc++sHuK6U2LRZP91Wo+D8B+c6b16QpJlGiOZB01oDxPigegq/F2ONi9UDet776+T7Ir8ncEFRZh/s9Dq7Wh4F5ZDKLpBtMYxgObnJp/uBER8J8nHEeRVc8wRwsHRQVY7wiIhH5KNm38F7tA9mjKgj6neaSRNGJFxLwfnGEFE61z474IUim8bQLChG3xiNCtWNxQULN4qSJAyjI38DprivWU6EipyLt/7fP05t75TT chronos@localhost</parameter>


Did you tried like this ? 

The git tab of webrunner  show generated ssh pubic key which can be used to connect to Git repository using ssh. There is no way to change that one. If you want to connect to your webrunner using ssh, you should set you public key as parameter to the instance.


Alain Takoudjou