[Blackpool] Homework if you want it. GitHub instructions

Simon Carr simonjcarr at gmail.com
Thu Mar 8 21:24:16 UTC 2012


Tony,

When you Generate the RSA Key it generates two files in the ~/.ssh directory

1) id_rsa - This is your private key. Dont show this to anyone
2) id_rsa.pub - This is your public key. You share this one

You need to open the id_rsa.pub file and put it's contents onto github.

Simon

On 8 March 2012 21:19, Simon Carr <simonjcarr at gmail.com> wrote:

> Trust Arran to spoil it.
>
>
>
> On 8 March 2012 21:18, Simon Carr <simonjcarr at gmail.com> wrote:
>
>> But know I have Tony's Private Key, I can sell his house and transfer the
>> funds into my bank account.
>>
>> Who wants Tony's Car?
>>
>>
>>
>>
>>
>>
>> On 8 March 2012 21:13, B McLellan <bob.mclellan at gmail.com> wrote:
>>
>>> Tony,
>>>
>>> You should get two files when you generate the key. id_rsa and
>>> id-rsa.pub.
>>> Make sure you are copying the public key ie id_rsa.pub
>>>
>>> HTH
>>>
>>> Rob
>>>
>>> On 8 March 2012 21:08, Tony Hughes <tonyhughes1212 at blueyonder.co.uk>
>>> wrote:
>>>
>>> > Hi All
>>> >
>>> > I'm having problems with setting up github
>>> >
>>> > I've tried to create an ssh key which I can do in terminal as it shows
>>> in
>>> > the tutorial but when I open the key in gedit it is a private key and
>>> looks
>>> > totally different to the one shown in the tutorial and github will not
>>> > accept it as it says I'm adding lines!!!! all I'm doing is copy and
>>> paste.
>>> >
>>> > This is the error mesg
>>> >
>>> > Key is invalid. It cannot contain newlines. Ensure you've copied the
>>> file
>>> > correctly
>>> >
>>> > this is the key being generated:
>>> >
>>> >
>>> > -----BEGIN RSA PRIVATE KEY-----
>>> > MIIEpAIBAAKCAQEA5H4MVm9xaJiGh8**DJoSseFtHFfPshZauj2tRyaGt/**enVDX0JL
>>> > 0356MA7fvUCJ//**20EXNgQ5pcwKNDCOHZU3iyjAlHCy3e**BoLC2N1I0bPByBfyhZFH
>>> > L2VnzUiSAXoa8nHkEjNGDpVGwXnTd0**V6bG0tiEwDlCc1nNx3eU0obUb2ldCH**fsXR
>>> > VES1eJnuzEh9/**S3Ac6Md12aiM70kio1SbNIWf0OAxbn**kA6roNwtKlScHkRE35kKN
>>> > OBnmGt5cqJqzPZPuQ2mv6lp9lXVbFl**NMR0QgWDhftqvyCzad3NjXE7Xbuo2B**Wiej
>>> > NOK3z7zjzChk0Q7eu3BtACm8M4309K**HgkgvHUwIDAQABAoIBACKcMTQ6hzwn**tmED
>>> > w8bk6BbeyYJH6+**Qhnp08BuRoPBQJhR39xcyQYOO8rQlW**qFCdVlQ6XL+At0H6uOG0
>>> > jB3Hr4vkr90yomnsDqWYxzn0d4rejb**7LpbO5MYL31h3hKAnHVJupJph45hHS**aUSs
>>> > woF//**CCkGvqrAcTz5Cj8lf4PfLRua3xNUYc**gP5I4jI0SzIgjzwHkUqKsHVvv4RcI
>>> > WiPW3SW1ijp7ZLSIhzgVC7hVsb9zUC**fWm9MXjnmJSTTT6JC/**gYuUlVzMcX03/hCE
>>> > 3oVJUwYULwRC/**2gAsnHECZ2LJVBtazUhEIaiSmr4Wlu**4Xf1qGRJ4yFXr1/w4HOUD
>>> > 510U6wkCgYEA+**EGsxnuYvNpzdYHLvPwK7kjGOfT3RHi**kC78gAc5/ANqTkT52OLfN
>>> > UZvKmPAadCenlotmx1Hgzrpvlbl5ja**gXErMv02ul087pbFryzkvDKOvKIU7W**YFga
>>> > nC/m/H1c2qclVV0awT7LOEhsbE+**G4vjiT6QuBhKbOZ91TOkRfdbrpmcCg**YEA656O
>>> > gyMaOUhZg760uYBrBjdCLD8ZQiLWiW**Nv93apgFcfzoTS/tOOrsEaYK+**CKwsAEDb3
>>> > og+**03D3ojkzXTg339pZVowDJY7e0uOYO5**aWvOP4hAWenQxI9Vteco78Zaf5Rqwh**3
>>> > rkN8sJ9oDfWcVMxIjWz7uK8yMMbLIk**3RuSxujDUCgYEAqnYt9HuZfNNixCTD**iJhn
>>> > yQYfVlxmDJXpzkcF6zem7ScofGqvMn**LCgG7AxhLXlzpDUJOXlvUZr9lEFUKt**vB7W
>>> > +**PggtsMLskw46zXn0s8iyk5dFFHV0YG**tg+FAcc6Cm4B5mgu7+0TqtVLFX/**mbXO4Y
>>> > Nyc8kt7jxsU+/**fhrEkUoubECgYAh4Zr8oH+**U3SKCH1o9konRSwDo++nV6MyQ1Qu0
>>> > uguFuQGJ4O+**2VRWfa4Uvgg1lwx8vNbhGRZvsT7qxO**7t6LegKPXPzDJnpDPGf5PUf
>>> > cMPRnjmAyjbzHhxT8I1FvqUY6Mk1nv**IWzP2RKFr+**JuNkDjwgmhtYY1kESpHLTQVr
>>> > a0g6QQKBgQCnGfJHqrhxSskKT03hPm**n4YRduVCC04T/**zLi8nYQEx7IHneVrkTml1
>>> > hcT2X+**riWrp9SRb5GJ3QhDH1HbKnTROhg9tP**YaZmj6fhhQm8wt9c0v65hscCfreX
>>> > tkFfrIoStp1dn1IIxKpbgsQWipS2MS**/ucoBl3P5It0pXJm2Sy+apCg==
>>> > -----END RSA PRIVATE KEY-----
>>> >
>>> >
>>> > Any ideas would be welcome
>>> >
>>> > Tony
>>> >
>>> >
>>> >
>>> >
>>> > On 07/03/12 21:19, Simon Carr wrote:
>>> >
>>> >> My self and Arran will help you on Saturday, this is just a bit of
>>> >> homework
>>> >> for anyone that wants to get going.
>>> >>
>>> >> Just follow these 2 steps
>>> >>
>>> >> 1. setup an account on github.com https://github.com/signup/free
>>> >> 2. follow the instructions here to setup github and add a ssh key to
>>> >> github
>>> >> http://help.github.com/linux-**set-up-git/<
>>> http://help.github.com/linux-set-up-git/>
>>> >>
>>> >>
>>> >> Do a search on Google / Youtube for Github tutorials. You need to
>>> know how
>>> >> to
>>> >>
>>> >> Fork
>>> >> Clone
>>> >> Add
>>> >> Commit
>>> >> Push
>>> >> Pull
>>> >> Branch
>>> >> Checkout
>>> >>
>>> >> Here is the link to our projects main github repository which you will
>>> >> need
>>> >> when you come to fork the project into your own account so you can
>>> start
>>> >> coding. https://github.com/codetastic/**BLUGMon-Hub<
>>> https://github.com/codetastic/BLUGMon-Hub>
>>> >>
>>> >>
>>> >> Just as a matter of interest and if you didn't already know. it was
>>> Linus
>>> >> Torvalds who wrote git. He did this after he fell out with bitkeeper,
>>> >> which
>>> >> is where the linux kernal was originally held. Git is now used by
>>> linux
>>> >> kernel, perl, eclipse, Gnome and KDE to name but a few.
>>> >>
>>> >> See you all Saturday.
>>> >> Simon
>>> >> ______________________________**_________________
>>> >> Blackpool mailing list
>>> >> Blackpool at mailman.lug.org.uk
>>> >> https://mailman.lug.org.uk/**mailman/listinfo/blackpool<
>>> https://mailman.lug.org.uk/mailman/listinfo/blackpool>
>>> >>
>>> >>
>>> > ______________________________**_________________
>>> > Blackpool mailing list
>>> > Blackpool at mailman.lug.org.uk
>>> > https://mailman.lug.org.uk/**mailman/listinfo/blackpool<
>>> https://mailman.lug.org.uk/mailman/listinfo/blackpool>
>>> >
>>> _______________________________________________
>>> Blackpool mailing list
>>> Blackpool at mailman.lug.org.uk
>>> https://mailman.lug.org.uk/mailman/listinfo/blackpool
>>>
>>
>>
>


More information about the Blackpool mailing list