From 87299a7ac980594442e6dc18a80cb2d124efead1 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Tue, 8 Sep 2009 20:36:25 -0400 Subject: Add SSH key option --- rpmbuild-remote.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'rpmbuild-remote.py') diff --git a/rpmbuild-remote.py b/rpmbuild-remote.py index e98ea37..1381d16 100644 --- a/rpmbuild-remote.py +++ b/rpmbuild-remote.py @@ -33,6 +33,9 @@ def get_parser(): parser.add_option("-s", "--system", action="store", type="string", dest="system", help="The remote machine to use (defined in config file)") + parser.add_option("-k", "--ssh-key", + action="store", type="string", dest="ssh_key", + help="The private SSH key to use to login") parser.add_option("-u", "--user", action="store", type="string", dest="user", default=os.getlogin(), -- cgit