> On 2024-11-04 12:20, Federico Kircheis via Cygwin wrote: > > up until recently I've uploaded packages the following way > > export SSH_KEY=/path/to/id_rsa; > > cygport /path/to/file.cygport upload > > but today I got the following error > > cd: Fatal error: max-retries exceeded > > I've fixed it by copying my key in the .ssh folder > > cp $SSH_KEY ~/.ssh/id_rsa > > cygport /path/to/file.cygport upload > > So it is not blocking me, but I wanted to know if this was a known bug, or > > if I > > am the only one experiencing it. > > See > https://cygwin.github.io/cygport/cygport_conf.html#SSH_KEY > or > /usr/share/doc/cygport/html/manual/cygport_conf.html#SSH_KEY > > SSH_KEY > > DESCRIPTION > > Path to the SSH private key corresponding to the public key registered for > uploading on sourceware. > You'll need to set this if your private key isn't already loaded into a > running > ssh-agent(1), and it doesn't have one of the expected file names such as > ~/.ssh/id_rsa. > Also, setting this allows cygport to determine if a passphrase is needed to > decrypt the key, and only prompt you for a passphrase if it's needed. > Otherwise, you'll be prompted for a passphrase every time you upload. > > Instead of `ssh-agent` and `ssh-add`, you can use `keychain` in your login > profile, which allows cross-session sharing, across X and terminal sessions, > and > logouts, for example: > $ eval `/usr/bin/keychain --noask --eval ~/.ssh/id_rsa` > then > $ keychain ~/.ssh/id_rsa
I haven't used cygport up in a long time - I use git push now, and let scallywag build the packages - but this does seem like new wrong behavior. Surely he shouldn't have to use keychain to get cygport to work? According to the docs, as you cited, his method should work. Andrew -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple