SlapOS Home SlapOS

    Re: How to add multiple SSH keys to authorized_keys in webrunner

    • Last Update:2016-09-16
    • Version:001
    • Language:en

    Hi,

    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"?>

    <instance>

        <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>

    </instance>

    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.

    Regards,

    Alain Takoudjou