Changing .ssh/authorized_keys script
Louis Bertrand
Louis.Bertrand at durhamcollege.ca
Fri May 21 00:25:29 UTC 2021
Hi Mads,
Thanks for the quick response. Yes, that was exactly what was needed. And yes, I wanted to steer clear of the warning about manually editing the file.
All the best
--Louis
________________________________
From: Mads Kiilerich <mads at kiilerich.com>
Sent: Thursday, May 20, 2021 5:01 PM
To: Louis Bertrand; kallithea-general at sfconservancy.org
Subject: Re: Changing .ssh/authorized_keys script
[EXTERNAL EMAIL]
On 5/19/21 4:21 PM, Louis Bertrand wrote:
> Hello,
>
> When I upgraded Kallithea, I somehow changed the venv directory from ~/kallithea-venv to kallithea/venv. In other words, instead of a venv directory beside the kallithea directory, it's now under the directory.
>
> Everything is fine except for ssh access because the cli script has moved. I updated the path
>
> kallithea_cli_path = /srv/web/sites/hg.set.durhamcollege.org/kallithea/venv/bin/kallithea-cli
> However the .ssh/authorized_keys file needs to be updated.
There is a way to update authorized_keys. See the last section in
https://kallithea.readthedocs.io/en/default/setup.html#using-kallithea-with-ssh
: The ``authorized_keys`` file can be updated manually with
``kallithea-cli ssh-update-authorized-keys -c my.ini``.
> Is there a way to edit the file without invalidating it?
(I'm not sure what is meant with "edit without invalidating" - is it
"make it rewrite the file even though nothing changed that could trigger
it"?)
/Mads
________________________________
This message is intended only for the named recipients. This message may contain information that is confidential or exempt from disclosure under applicable law. Any dissemination or copying of this message by anyone other than a named recipient is strictly prohibited. If you are not a named recipient or an employee or agent responsible for delivering this message to a named recipient, please notify us immediately, and permanently destroy this message and any copies you may have. Warning: Email may not be secure unless properly encrypted.
More information about the kallithea-general
mailing list