I have a single ssh key that I use for authentication, connected to my email address. Github gets the public key (as does the git config on any other remote git server I interact with). After any reboot, the first command I run is ssh-add so that all terminals I open already have my credentials (nobody else has access to this computer), and interaction with github and others is seamless.
Ok, I thought I was getting the upper hand with this:
$ xclip -sel clip < id_rsa.pub
But then...
fritz@laptop:~/.ssh$ ssh -T tallharry66@gitlab.com
The authenticity of host 'gitlab.com (2606:47...:a9b9)' can't be estab
+lished.
ECDSA key fingerprint is SHA256:....w.
Are you sure you want to continue connecting (yes/no/[fingerprint])? y
+es
Warning: Permanently added 'gitlab.com,2606:4700:....' (ECDSA) to the
+list of known hosts.
tallharry66@gitlab.com: Permission denied (publickey).
fritz@laptop:~/.ssh$
So I'm not there yet. Was the .pub one the right one to give to gitlab?
(I hope I haven't left my auth key bare here.)
is @gitlab.com right?
Fishing for tips,
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
|
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.