info > DEBRSIGN

📛 NAME

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

🚀 Quick Reference

Use CaseCommandDescription
Sign .changes/.dsc on remote hostdebrsign [user@]remotehost [changes-file|dsc-file]Copy unsigned files to remote machine, sign via ssh, retrieve signed files
Sign source-only .changesdebrsign -S [user@]remotehostLook for a source-only .changes file instead of binary-build
Specify remote GPG binary pathdebrsign --path /path/to/gpg [user@]remotehostUse a custom GPG path on the remote host
Multiarch .changes modedebrsign --multi [user@]remotehostUse most recent package_version_*+*.changes file (for dpkg-cross)
Override architecturedebrsign -a<arch> -t<gnu-type> [user@]remotehostSet architecture and GNU system type for .changes file search

📜 SYNOPSIS

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

📖 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

🔹 Source-only mode

🔹 Architecture options

🔹 Multiarch mode

🔹 Remote GPG path

🔹 Help and version

🔹 Other options

⚙️ 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:

📚 SEE ALSO

👤 AUTHOR

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

DEBRSIGN
📛 NAME 🚀 Quick Reference 📜 SYNOPSIS 📖 DESCRIPTION ⚙️ OPTIONS
🔹 Source-only mode 🔹 Architecture options 🔹 Multiarch mode 🔹 Remote GPG path 🔹 Help and version 🔹 Other options
⚙️ CONFIGURATION VARIABLES 📚 SEE ALSO 👤 AUTHOR

Generated by phpman v4.9.26-5-g7740029 Author: Che Dong Under GNU General Public License
2026-08-14 21:07 @2600:1f28:365:80b0:4d23:66fa:c2bb:7bae
CrawledBy CCBot/2.0 (https://commoncrawl.org/faq/)
Valid XHTML 1.0 Transitional!Valid CSS!