News for hackers. Stuff that matters.
Re:GitHub reinstated youtube-dl but restoring forks is appar... by rsync on Sunday April 18, 2021 @01:05AM (#26849950)
"I just keep a GOGS instance that auto-mirrors youtube-DL these days now, so I always have a copy."

I keep this in my local crontab:

  ssh [email protected] "git clone mirror https://github.com/ytdl-org/youtube-dl.git"
Re:GitHub reinstated youtube-dl but restoring forks is appar... by koolba on Sunday April 18, 2021 @08:31AM (#26851864)
> ssh [email protected] ...

Do you really have an passphrase-less SSH key on your primary machine?

Re:GitHub reinstated youtube-dl but restoring forks is appar... by viraptor on Sunday April 18, 2021 @08:56AM (#26852013)
How do you expect an automated process to work over SSH if it has to ask for a password?
Re:GitHub reinstated youtube-dl but restoring forks is appar... by koolba on Sunday April 18, 2021 @12:08PM (#26853648)
I wouldn’t expect an automated process to be using a human’s account to access a remote system.
Re:GitHub reinstated youtube-dl but restoring forks is appar... by viraptor on Sunday April 18, 2021 @05:03PM (#26856332)
You're assuming this is a "human's" account. Also it could be a single-purpose key limited to a single static command on the rsync side.
Re:GitHub reinstated youtube-dl but restoring forks is appar... by tux on Sunday April 18, 2021 @10:32AM (#26852808)
Actually passwordless ssh key is more secure from attacks than using a password.

Unless your computer is compromissed, than no key or password will help.

Re:GitHub reinstated youtube-dl but restoring forks is appar... by koolba on Sunday April 18, 2021 @12:07PM (#26853630)
Not “password”, I’m referring to a “passphrase” for unlocking an SSH key.