Mailinglist Archive: yast-devel (7 mails)

< Previous Next >
Re: [yast-devel] Disturbing branches at GitHub (broken/...)
Dne 3.9.2012 16:12, Lukas Ocilka napsal(a):
[...]
Here's a possible way how to delete all the "broken" branches
semi-automatically:

* Backup your SSH keys (~/.ssh)
* Create a new SSH key without passphrase (ssh-keygen)
* Add this *.pub key to https://github.com/settings/ssh
Now you can clone/push/fetch without entering the key

Um, why do we need the new key? Just to avoid entering the key passphrase at
each
clone/push?

You can easily use ssh-agent for this, it is started automatically in KDE
session
(probably also in other desktops, not tested).

Just run "ssh-add" and enter the passphrase. Then you can use the key without entering the passphare (works with all commands like ssh, scp, git... which use the key).

If you want to lock the key again (for security reasons, e.g. when leaving the
computer) just call "ssh-add -D" and then you will be asked for the passphrase
again.

(See man ssh-agent, man ssh-add for details.)

--

Best Regards

Ladislav Slez√°k
Yast Developer
------------------------------------------------------------------------
SUSE LINUX, s.r.o. e-mail: lslezak@xxxxxxx
Lihovarsk√° 1060/12 tel: +420 284 028 960
190 00 Prague 9 fax: +420 284 028 951
Czech Republic http://www.suse.cz/
--
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: yast-devel+owner@xxxxxxxxxxxx

< Previous Next >
List Navigation
References