You are not logged in.

#1 2022-11-20 19:55:24

desperado
Member
Registered: 2018-10-12
Posts: 59

[Solved] Generating SSH key pairs for AUR account

Suppose my AUR username is `$username`. My current ssh config file contains this.

Host aur-$username
    User aur
    HostName aur.archlinux.org
    IdentityFile ~/.ssh/$filename

I am trying to generate an ssh key pair using the following command. 

ssh-keygen -t ed25519 -C $comment -f $HOME/.ssh/$filename

Can the three variables here (username, filename, comment) be completely different from each other?

Last edited by desperado (2022-11-27 17:20:15)

Offline

#2 2022-11-20 21:09:27

yochananmarqos
Member
Registered: 2020-02-05
Posts: 222

Re: [Solved] Generating SSH key pairs for AUR account

I'm not quite sure what you're trying to accomplish, but all you need to to is follow: https://wiki.archlinux.org/title/AUR_su … entication

Offline

#3 2022-11-20 23:08:13

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,480
Website

Re: [Solved] Generating SSH key pairs for AUR account

Yes.  Why couldn't they be?  A comment is a comment ... so it doesn't matter.  A filename is just a name of a file, so it can be any (legal) name.

Last edited by Trilby (2022-11-20 23:10:39)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

Board footer

Powered by FluxBB