Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

As the title says.

For some reason ssh-keygen is not installed on my install of Arch Linux, and I can't seem to find it on the AUR or the official packages repository.

How would I go about obtaining it?

The ArchWiki assumes you have it installed and doesn't give instructions on how to install it:

Or at least it doesn't make it obvious. If I missed it please say so. :)

Any help is appreciated. :)

share|improve this question
up vote 10 down vote accepted

The ssh-keygen command is part of OpenSSH (package "openssh"). That's why the article assumes you have it installed – you wouldn't be able to use ssh if you didn't.

Use pkgfile (-v) or pacman -Fs to find which packages contain a given file:

$ sudo pkgfile -u
$ pkgfile -v ssh-keygen
core/openssh 7.2p2-1        /usr/bin/ssh-keygen

$ sudo pacman -Fy
$ pacman -Fs ssh-keygen
core/openssh 7.2p2-1
share|improve this answer
Yep, that was it. Thank you very much. :) – greduan Apr 17 '13 at 15:48

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.