{
    "content": [
        {
            "type": "text",
            "text": "# ssh-import-id(1) (man)\n\n**Summary:** ssh-import-id  -  retrieve one or more public keys from a public keyserver and append them to the current user's authorizedkeys file (or some other specified file)\n\n**Synopsis:** ssh-import-id [options] USERID1 [gh:USERID2] ... [lp:USERIDn]\nssh-import-id-lp USERID1 [USERID2] ... [USERIDn]\nssh-import-id-gh USERID1 [USERID2] ... [USERIDn]\n\n## See Also\n\n- ssh(1)\n\n## Section Outline\n\n- **NAME** (4 lines)\n- **SYNOPSIS** (7 lines)\n- **OPTIONS** (8 lines)\n- **DESCRIPTION** (19 lines)\n- **SEE ALSO** (3 lines)\n- **FILES** (3 lines)\n- **AUTHOR** (11 lines)\n\n## Full Content\n\n### NAME\n\nssh-import-id  -  retrieve one or more public keys from a public keyserver and append them to\nthe current user's authorizedkeys file (or some other specified file)\n\n### SYNOPSIS\n\nssh-import-id [options] USERID1 [gh:USERID2] ... [lp:USERIDn]\n\nssh-import-id-lp USERID1 [USERID2] ... [USERIDn]\n\nssh-import-id-gh USERID1 [USERID2] ... [USERIDn]\n\n### OPTIONS\n\n-h | --help        usage\n-o | --output F    write output to file 'F' (default  ~/.ssh/authorizedkeys,  use  \"-\"  for\nstandard out)\n-r | --remove      remove keys from authorized keys file 'F'\n-u | --useragent U append U to the user agent string\nPROTO:USERID      Protocol can be 'lp' for Launchpad.net, or 'gh' for Github.com\n\n### DESCRIPTION\n\nThis  utility will securely contact a public keyserver and retrieve one or more user's public\nkeys, and append these to the current user's ~/.ssh/authorizedkeys file, standard output  or\nany other specified output file.\n\nUser IDs can be prepended by a protocol:\n\n- lp: to use https://launchpad.net/~%s/+sshkeys\n- gh: to use https://api.github.com/users/%s/keys\n\nIf  the  protocol  is  not  explicitly specified, then ssh-import-id will read a URL variable\nstring from /etc/ssh/sshimportid as installed by your package  manager  and  configured  by\nyour system administrator.  You can override this locally by exporting the string you want in\na URL environment variable.  If all of these are empty, then the protocol is  assumed  to  be\n\"lp:\", which was the original target implementation of this tool.\n\nAny  keys  added  will  be \"labled\" with a trailing comment, \"# ssh-import-id PROTO:USERID\".\nRevoking keys will first look for lines in the authorized keys file ending with that label.\n\n### SEE ALSO\n\nssh(1)\n\n### FILES\n\n/etc/ssh/sshimportid\n\n### AUTHOR\n\nThis manpage and the utility was written by Dustin Kirkland  <dustin.kirkland@gmail.com>  for\nUbuntu systems (but may be used by others).  Permission is granted to copy, distribute and/or\nmodify this document under the terms of the GNU General Public License, Version  3  published\nby the Free Software Foundation.\n\nOn  Debian  systems,  the  complete  text  of  the GNU General Public License can be found in\n/usr/share/common-licenses/GPL.\n\n\n\nssh-import                                   4 Feb 2013                             ssh-import-id(1)\n\n"
        }
    ],
    "structuredContent": {
        "command": "ssh-import-id",
        "section": "1",
        "mode": "man",
        "summary": "ssh-import-id  -  retrieve one or more public keys from a public keyserver and append them to the current user's authorizedkeys file (or some other specified file)",
        "synopsis": "ssh-import-id [options] USERID1 [gh:USERID2] ... [lp:USERIDn]\nssh-import-id-lp USERID1 [USERID2] ... [USERIDn]\nssh-import-id-gh USERID1 [USERID2] ... [USERIDn]",
        "flags": [],
        "examples": [],
        "see_also": [
            {
                "name": "ssh",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/ssh/1/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 7,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 8,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 19,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "FILES",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 11,
                "subsections": []
            }
        ]
    }
}