man > debrsign(1)

DEBRSIGN(1)                     General Commands Manual                 DEBRSIGN(1)

📛 NAME

debrsign – remotely sign a Debian .changes and .dsc file pair using SSH

📋 SYNOPSIS

debrsign [options] [user@]remotehost [changes-file|dsc-file]

🚀 Quick Reference

Use Case Command Description
🔑 Sign a .changes file on remote host debrsign user@host package.changes Copies .changes (and associated .dsc) to remote, signs via debsign, returns signed files
📄 Sign a .dsc file directly debrsign user@host package.dsc Signs the specified .dsc file on remote
🔍 Use source-only .changes debrsign -S user@host Selects the source-only .changes file instead of binary build
đŸ—ī¸ Specify architecture/type debrsign -aarch -ttype user@host Affects search for the .changes file; mimics dpkg-buildpackage
đŸ“Ļ Multiarch .changes mode debrsign --multi user@host Uses the most recent package_version_*+*.changes file
🔐 Specify remote GPG path debrsign --path /usr/bin/gpg user@host Sets the path to the GPG binary on the remote host
📖 Show help debrsign --help Display help message
â„šī¸ Show version debrsign --version Display version information

📖 DESCRIPTION

debrsign takes either an unsigned .dsc file or an unsigned .changes file and the associated unsigned .dsc file (found by replacing the architecture name and .changes by .dsc) if it appears in the .changes file and signs them by copying them to the remote machine using ssh(1) and remotely running debsign(1) on that machine. All options not listed below are passed to the debsign program on the remote machine.

If a .changes or .dsc file is specified, it is signed, otherwise, debian/changelog is parsed to determine the name of the .changes file to look for in the parent directory.

This utility is useful if a developer must build a package on one machine where it is unsafe to sign it; they need then only transfer the small .dsc and .changes files to a safe machine and then use the debsign program to sign them before transferring them back. This program automates this process.

To do it the other way round, that is to connect to an unsafe machine to download the .dsc and .changes files, to sign them locally and then to transfer them back, see the debsign(1) program, which can do this task.

âš™ī¸ OPTIONS

🔹 -S

Look for a source-only .changes file instead of a binary-build .changes file.

🔹 -adebian-architecture, -tGNU-system-type

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.

🔹 --multi

Multiarch .changes mode: This signifies that debrsign should use the most recent file with the name pattern package_version_*+*.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.

🔹 Other options

All other options are passed on to debsign on the remote machine.

📁 CONFIGURATION VARIABLES

The two configuration files /etc/devscripts.conf and ~/.devscripts are sourced in that order to set configuration variables. Command line options can be used to override configuration file settings. Environment variable settings are ignored for this purpose. The currently recognised variables are:

🔹 DEBRSIGN_PGP_PATH

Equivalent to passing --path on the command line (see above.)

📚 SEE ALSO

👤 AUTHOR

This program was written by Julian Gilbey <jdg@debian.org> and is copyright under the GPL, version 2 or later.

DEBIAN                         Debian Utilities                 DEBRSIGN(1)

debrsign(1)
📛 NAME 📋 SYNOPSIS 🚀 Quick Reference 📖 DESCRIPTION âš™ī¸ OPTIONS
🔹 -S 🔹 -adebian-architecture, -tGNU-system-type 🔹 --multi 🔹 --path remote-path 🔹 --help, --version 🔹 Other options
📁 CONFIGURATION VARIABLES
🔹 DEBRSIGN_PGP_PATH
📚 SEE ALSO 👤 AUTHOR

Generated by phpman v4.9.26-5-g7740029 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-08-30 17:53 @216.73.217.135
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!