{
    "mode": "man",
    "parameter": "debrsign",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/debrsign/1/json",
    "generated": "2026-06-13T20:03:10Z",
    "synopsis": "debrsign [options] [user@]remotehost [changes-file|dsc-file]",
    "sections": {
        "NAME": {
            "content": "debrsign - remotely sign a Debian .changes and .dsc file pair using SSH\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "debrsign [options] [user@]remotehost [changes-file|dsc-file]\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "debrsign  takes  either an unsigned .dsc file or an unsigned .changes file and the associated\nunsigned .dsc file (found by replacing the architecture name and .changes by .dsc) if it  ap‐\npears  in the .changes file and signs them by copying them to the remote machine using ssh(1)\nand remotely running debsign(1) on that machine.  All options not listed below are passed  to\nthe debsign program on the remote machine.\n\nIf  a .changes or .dsc file is specified, it is signed, otherwise, debian/changelog is parsed\nto determine the name of the .changes file to look for in the parent directory.\n\nThis utility is useful if a developer must build a package on one machine where it is  unsafe\nto  sign it; they need then only transfer the small .dsc and .changes files to a safe machine\nand then use the debsign program to sign them before transferring them  back.   This  program\nautomates this process.\n\nTo  do  it  the other way round, that is to connect to an unsafe machine to download the .dsc\nand .changes files, to sign them locally and then to transfer them back, see  the  debsign(1)\nprogram, which can do this task.\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "",
            "subsections": [
                {
                    "name": "-S",
                    "content": "",
                    "flag": "-S"
                },
                {
                    "name": "-a -t",
                    "content": "See  dpkg-architecture(1)  for a description of these options.  They affect the search\nfor the .changes file.  They are provided to mimic the behaviour of  dpkg-buildpackage\nwhen determining the name of the .changes file.\n",
                    "flag": "-t"
                },
                {
                    "name": "--multi",
                    "content": "Multiarch  .changes mode: This signifies that debrsign should use the most recent file\nwith the name pattern packageversion*+*.changes as the .changes file,  allowing  for\nthe .changes files produced by dpkg-cross.\n\n--path remote-path\nSpecify a path to the GPG binary on the remote host.\n\n--help, --version\nShow help message and version information respectively.\n",
                    "long": "--multi"
                },
                {
                    "name": "Other options",
                    "content": "All other options are passed on to debsign on the remote machine.\n"
                }
            ]
        },
        "CONFIGURATION VARIABLES": {
            "content": "The  two configuration files /etc/devscripts.conf and ~/.devscripts are sourced in that order\nto set configuration variables.  Command line options can be used to  override  configuration\nfile  settings.   Environment  variable settings are ignored for this purpose.  The currently\nrecognised variables are:\n\nDEBRSIGNPGPPATH\nEquivalent to passing --path on the command line (see above.)\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "debsign(1), dpkg-architecture(1), ssh(1)\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "This program was written by Julian Gilbey <jdg@debian.org> and is copyright  under  the  GPL,\nversion 2 or later.\n\n\n\nDEBIAN                                    Debian Utilities                               DEBRSIGN(1)",
            "subsections": []
        }
    },
    "summary": "debrsign - remotely sign a Debian .changes and .dsc file pair using SSH",
    "flags": [
        {
            "flag": "-S",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "-t",
            "long": null,
            "arg": null,
            "description": "See dpkg-architecture(1) for a description of these options. They affect the search for the .changes file. They are provided to mimic the behaviour of dpkg-buildpackage when determining the name of the .changes file."
        },
        {
            "flag": "",
            "long": "--multi",
            "arg": null,
            "description": "Multiarch .changes mode: This signifies that debrsign should use the most recent file with the name pattern packageversion*+*.changes as the .changes file, allowing for the .changes files produced by dpkg-cross. --path remote-path Specify a path to the GPG binary on the remote host. --help, --version Show help message and version information respectively."
        }
    ],
    "examples": [],
    "see_also": [
        {
            "name": "debsign",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/debsign/1/json"
        },
        {
            "name": "dpkg-architecture",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/dpkg-architecture/1/json"
        },
        {
            "name": "ssh",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/ssh/1/json"
        }
    ]
}