Re: forgot password or misconfiguration

2021-05-03 Thread Amin Bandali
Andreas Schwab writes:

> On Mai 03 2021, Dedeco Balaco wrote:
>
>> gpg has nothing to do with ssh, but ssh will use gpg pairs of keys to
>> log we into servers.
>
> Nope, ssh uses its own pair(s) of keys, managed by ssh-keygen.
>
> Andreas.

https://wiki.archlinux.org/title/GnuPG#Using_a_PGP_key_for_SSH_authentication
https://www.gnupg.org/documentation/manuals/gnupg/Agent-Configuration.html#index-sshcontrol



Re: forgot password or misconfiguration

2021-05-03 Thread Dedeco Balaco



Em 03-05-2021 16:41, Andreas Schwab escreveu:
> On Mai 03 2021, Dedeco Balaco wrote:
> 
>> gpg has nothing to do with ssh, but ssh will use gpg pairs of keys to
>> log we into servers.
> 
> Nope, ssh uses its own pair(s) of keys, managed by ssh-keygen.
> 

Yes, thank you. I probably missed that in my line of thought. I rarely
use Savannah, and I just vaguely described what I did to have a pair of
keys for signing in. I created them, with no clear memory of how or with
what. And after that, i used them. All with the help of some
documentation in the site, I think.



Re: forgot password or misconfiguration

2021-05-03 Thread Andreas Schwab
On Mai 03 2021, Dedeco Balaco wrote:

> gpg has nothing to do with ssh, but ssh will use gpg pairs of keys to
> log we into servers.

Nope, ssh uses its own pair(s) of keys, managed by ssh-keygen.

Andreas.

-- 
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."



Re: forgot password or misconfiguration

2021-05-03 Thread Jan Owoc
On Mon, May 3, 2021 at 12:51 PM Andreas Schwab  wrote:
>
> On Mai 03 2021, Jan Owoc wrote:
>
> > Savannah keeps a copy of your "public" key, and expects you to have
> > the "private" half in your .ssh folder. You can use gpg to generate a
> > new keypair.
>
> gpg has nothing to do with ssh.

Neither of us is strictly correct.

I misspoke, because ssh-keygen is not part of gpg, so the correct text
would be "You can use ssh-keygen to generate a new keypair, and do not
need gpg."

At the same time, gpg can interact with ssh, for example using
gpg-agent to keep track of ssh keys. It would be more correct for you
to say something like "you can use ssh with or without gpg".



Re: forgot password or misconfiguration

2021-05-03 Thread Dedeco Balaco


Em 03-05-2021 15:51, Andreas Schwab escreveu:
> On Mai 03 2021, Jan Owoc wrote:
> 
>> Savannah keeps a copy of your "public" key, and expects you to have
>> the "private" half in your .ssh folder. You can use gpg to generate a
>> new keypair.
> 
> gpg has nothing to do with ssh.
> 

gpg has nothing to do with ssh, but ssh will use gpg pairs of keys to
log we into servers. So, you check if you still have your private key
somewhere. After that, you check this key is being given (in
configuration directories or directly in the command line) to the
command you use: scp, ssh, or any other software you may use.



Re: forgot password or misconfiguration

2021-05-03 Thread Andreas Schwab
On Mai 03 2021, Jan Owoc wrote:

> Savannah keeps a copy of your "public" key, and expects you to have
> the "private" half in your .ssh folder. You can use gpg to generate a
> new keypair.

gpg has nothing to do with ssh.

Andreas.

-- 
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."



Re: forgot password or misconfiguration

2021-05-03 Thread Jan Owoc
On Mon, May 3, 2021 at 7:12 AM Heinz-Josef Claes  wrote:
>
> seems something with my gpg configuration is wrong. When trying to
> upload a new version, I get an error message:
>
> $ scp storeBackup-3.5.1.tar.bz2
> hjcl...@dl.sv.nongnu.org:/releases/storebackup
> hjcl...@dl.sv.nongnu.org's password:
> Permission denied, please try again.
>
> What do I have to do to make it work again? (Last working upload was at
> April 2014. I have a backup from Jan. 2014. Can I restore something from
> my old backup to the actual gpg data/config?)

Savannah keeps a copy of your "public" key, and expects you to have
the "private" half in your .ssh folder. You can use gpg to generate a
new keypair.

Option 1) If you want to debug why it doesn't work, try repeating the
command with the "-v" option. I don't know if scp supports a double
"-vv" for even more verbosity. That will provide information about
which keys were exchanged etc. You can try:
ssh -vvv hjcl...@dl.sv.nongnu.org

Option 2) If you don't care too much about why it's not working today,
but suspect a missing keypair, then you can generate a new keypair and
upload the public key as described here:
https://savannah.nongnu.org/maintenance/SshAccess/

Kind regards,
Jan



forgot password or misconfiguration

2021-05-03 Thread Heinz-Josef Claes

Hi,

seems something with my gpg configuration is wrong. When trying to
upload a new version, I get an error message:

$ scp storeBackup-3.5.1.tar.bz2
hjcl...@dl.sv.nongnu.org:/releases/storebackup
hjcl...@dl.sv.nongnu.org's password:
Permission denied, please try again.

What do I have to do to make it work again? (Last working upload was at
April 2014. I have a backup from Jan. 2014. Can I restore something from
my old backup to the actual gpg data/config?)

Sorry, I'm not that familiar with gpg.

Best regards,
Heinz-Josef Claes

project: storeBackup