Using tlmgr and a repo from a local machine

Angelo Graziosi angelo.g0 at libero.it
Tue Aug 29 21:57:29 CEST 2023


> Il 29/08/2023 17:12 CEST Zdenek Wagner ha scritto:
> 
>  
> >
> > 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.
> 

Interesting explanation! I will try that. Thank you!

Ciao,
  Angelo.


More information about the tex-live mailing list.