Using tlmgr and a repo from a local machine

Zdenek Wagner zdenek.wagner at gmail.com
Tue Aug 29 17:12:15 CEST 2023


>
> I used this command
>
> tlmgr --repository utente at macchina:/myApps/tlrepo/tlnet update --all
>
> in which "macchina" is a MBP in the LAN and "/myApps/tlrepo/tlnet" a mirror of a CTAN tlnet.
>
> The issue is that it asks the password two or three times **for each package** and if the packages are more than 20, this results in a very inefficient way to update.
>
> I wonder if someone know a trick to avoid all this...
>
Yes, you can use authentication by a key. Run ssh-keygen on a computer
where you want to install TL. In your ~/.ssh you will find id_rsa and
id_rsa.pub. Copy id_rsa.pub to macchina and append it to
/home/utente/.ssh/authorized_keys (or create that file). Permissions
should be 0644. Remember that each key must be a single long line, so
be sure that they are not split to shorter lines. The return to the
computer where you want to install TL and run "ssh utente at macchina".
If it is your first access, it will ask you to accept connection and
macchina will be added to .ssh/known_hosts. It should not ask for a
password because you are authenticated by the key. Afterwards you can
use tlmgr without a password.

> TIA,
>   Angelo.


Zdeněk Wagner
https://www.zdenek-wagner.eu/

út 29. 8. 2023 v 16:39 odesílatel Angelo Graziosi via tex-live
<tex-live at tug.org> napsal:



More information about the tex-live mailing list.