Re: SSH private keys?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 2018-06-23 at 16:35 -0400, Jeffrey Ross wrote:
> 
> On 06/22/2018 03:45 PM, Gordon Messmer wrote:
> > On 06/22/2018 04:37 AM, Jeffrey Ross wrote:
> > > Fast forward to today, the system had been reinstalled (new
> > > hardware, 
> > > new disks, etc) and I no longer have that ability.  I'm
> > > currently 
> > > runn Fedora 28 and the desktop is "Gnome", I'm sure it is just a 
> > > matter of installing/configuring/running the correct
> > > application.... 
> > > but which one? 
> > 
> > That's handled by gnome-keyring and, as of this version of GNOME, 
> > ssh-agent.  As far as I can tell, those are both required
> > components, 
> > so they're probably not missing on your workstation. The problem 
> > *might* be that GNOME keyring will only automatically unlock
> > private 
> > keys if there is a valid public key with the same name, and a .pub 
> > suffix.  So, you might not have the public keys. Or, you might have
> > a 
> > .pub file that's *really* old and no longer valid.
> > 
> > There is an open bug concerning the fact that if there is an
> > invalid 
> > .pub file in .ssh, GNOME keyring won't automatically unlock *any* 
> > keys, so remove any old key files.
> > 
> > https://bugzilla.redhat.com/show_bug.cgi?id=1568895
> 
> my .ssh directory has my private key in a file called "id_rsa"
> nothing 
> with .pub on the end and if I understand correctly running ssh will
> look 
> for the private key in a few different file names, none of which end 
> with .pub.

Or use AddKeysToAgent option in ssh_config, which will automatically
add the keys to the agent on first use.

-- 
Jakub Jelen
Software Engineer
Security Technologies
Red Hat, Inc.
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx/message/YZZPIEZ6UVESJQDJ7E6DQ5CRCFNITMJR/



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux