ssh-import-id - securely retrieve an SSH public key and install it locally

Property Value
Distribution Ubuntu 18.04 LTS (Bionic Beaver)
Repository Ubuntu Main amd64
Package name ssh-import-id
Package version 5.7
Package release 0ubuntu1
Package architecture all
Package type deb
Installed size 52 B
Download size 10.15 KB
Official Mirror
This utility will securely contact a public keyserver ( by
default, but is also supported), retrieve one or more user's
public keys, and append these to the current user's ~/.ssh/authorized_keys


Package Version Architecture Repository
ssh-import-id_5.7-0ubuntu1.1_all.deb 5.7 all Ubuntu Updates Main
ssh-import-id_5.7-0ubuntu1.1_all.deb 5.7 all Ubuntu Updates Main
ssh-import-id_5.7-0ubuntu1_all.deb 5.7 all Ubuntu Main
ssh-import-id - - -


Name Value
ca-certificates -
openssh-client -
python3-requests >= 1.1.0
python3:any >= 3.3.2-2~
wget -


Type URL
Binary Package ssh-import-id_5.7-0ubuntu1_all.deb
Source Package ssh-import-id

Install Howto

  1. Update the package index:
    # sudo apt-get update
  2. Install ssh-import-id deb package:
    # sudo apt-get install ssh-import-id




2016-09-16 - Dustin Kirkland <>
ssh-import-id (5.7-0ubuntu1) artful; urgency=medium
[ Scott Moser ]
* ssh_import_id/ LP: #1570997
- read_keyfile: use getpass and expanduser if HOME not set.
If the HOME environment variable was not set, then use getpass and
expanduser to try to find the right path.
Recreate was as simple as:
env -u HOME ssh-import-id bob
[ Dustin Kirkland ]
* ssh_import_id/
- fix typo, missing colon
2016-09-16 - Dustin Kirkland <>
ssh-import-id (5.6-0ubuntu1) yakkety; urgency=medium
[ Mitsuya Shibata ]
* ssh_import_id/ LP: #1565275
- fix bug, where only the last key from github was getting added
2016-02-18 - Dustin Kirkland <>
ssh-import-id (5.5-0ubuntu1) xenial; urgency=medium
* debian/control, debian/rules,, ssh_import_id/
- patches adapted from Barry Warsaw
- drop pkg_resources as a dependency
- hardcode/update module version in
- should fix python 3.5 unit test failures
2016-02-16 - Dustin Kirkland <>
ssh-import-id (5.4-0ubuntu1) xenial; urgency=medium
* debian/rules:
- disable python 3.5 tests;  fix ftbfs as unit tests try to import
ssh_import_id, which is the module we're trying to build here
2016-02-16 - Dustin Kirkland <>
ssh-import-id (5.3-0ubuntu1) xenial; urgency=medium
- try fixing ftbfs by removing py_modules
2016-02-16 - Dustin Kirkland <>
ssh-import-id (5.2-0ubuntu1) xenial; urgency=medium
* debian/control:
- try to fix ftbfs, seems we need python3-requests in the build stage
2016-02-11 - Dustin Kirkland <>
ssh-import-id (5.1-0ubuntu1) xenial; urgency=medium
* debian/control:
- add shlibs to depends, hopefully fix ftbfs
2016-01-30 - Dustin Kirkland <>
ssh-import-id (5.0-0ubuntu1) xenial; urgency=medium
* === added directory etc, === added directory etc/ssh, === added
directory ssh_import_id, === added directory usr, === added
directory usr/bin, === added directory usr/share, === added
directory usr/share/man, === added directory usr/share/man/man1,
bin/ssh-import-id-gh => usr/bin/ssh-import-id-gh, bin/ssh-import-id-
lp => usr/bin/ssh-import-id-lp, bin/ssh-import-id =>
ssh_import_id/ (properties changed: +x to -x),
debian/control, debian/install, debian/manpages, debian/rules, ===
removed directory bin,, ssh-import-id.1 =>
usr/share/man/man1/ssh-import-id.1, ssh_import_id =>
etc/ssh/ssh_import_id, usr/bin/ssh-import-id:
- build depend on dh-python
- simplify package install, etc/ and usr/
- syntax check both locations
- build an ssh_import_id python package/module
- put all common functionality into an ssh_import_id module
- add a browser useragent string, for protocol version support on the server
- move ssh-import-id-lp and ssh-import-id-gh functionality into a base
python function, and wrap those with shell
- remove a couple of subcommand shell outs by using native python calls
*, ssh_import_id/
- bump major version to 5.0, major changes here
* debian/rules,
- add scripts back to
* ssh_import_id/
- add extra blank line back, for readability
* debian/control, ssh_import_id/
- use pkg_resources to get __version__, depend on package
2015-10-05 - Dustin Kirkland <>
ssh-import-id (4.5-0ubuntu1) wily; urgency=medium
[ Andres Riancho and Dustin Kirkland ]
* bin/ssh-import-id-gh: LP: #1397332
- handle two github error conditions (rate limiting and user
not found)

See Also

Package Description
ssh_7.6p1-4_all.deb secure shell client and server (metapackage)
ssl-cert_1.0.39_all.deb simple debconf wrapper for OpenSSL
sssd-ad-common_1.16.1-1ubuntu1_amd64.deb System Security Services Daemon -- PAC responder
sssd-ad_1.16.1-1ubuntu1_amd64.deb System Security Services Daemon -- Active Directory back end
sssd-common_1.16.1-1ubuntu1_amd64.deb System Security Services Daemon -- common files
sssd-dbus_1.16.1-1ubuntu1_amd64.deb System Security Services Daemon -- D-Bus responder
sssd-ipa_1.16.1-1ubuntu1_amd64.deb System Security Services Daemon -- IPA back end
sssd-krb5-common_1.16.1-1ubuntu1_amd64.deb System Security Services Daemon -- Kerberos helpers
sssd-krb5_1.16.1-1ubuntu1_amd64.deb System Security Services Daemon -- Kerberos back end
sssd-ldap_1.16.1-1ubuntu1_amd64.deb System Security Services Daemon -- LDAP back end
sssd-proxy_1.16.1-1ubuntu1_amd64.deb System Security Services Daemon -- proxy back end
sssd-tools_1.16.1-1ubuntu1_amd64.deb System Security Services Daemon -- tools
sssd_1.16.1-1ubuntu1_amd64.deb System Security Services Daemon -- metapackage
strace_4.21-1ubuntu1_amd64.deb System call tracer
strongswan-charon_5.6.2-1ubuntu2_amd64.deb strongSwan Internet Key Exchange daemon