summaryrefslogtreecommitdiffstats
path: root/rpmbuild-remote.py
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2009-09-08 20:36:25 -0400
committerBen Boeckel <MathStuf@gmail.com>2009-09-08 20:36:25 -0400
commit87299a7ac980594442e6dc18a80cb2d124efead1 (patch)
tree6faf858595e61e577af05e830e9da0cba1cd45d0 /rpmbuild-remote.py
parent08ae242e4e3748fa7bb889dae3fa5cdaf502bc96 (diff)
downloadrpmbuild-remote-87299a7ac980594442e6dc18a80cb2d124efead1.zip
rpmbuild-remote-87299a7ac980594442e6dc18a80cb2d124efead1.tar.gz
rpmbuild-remote-87299a7ac980594442e6dc18a80cb2d124efead1.tar.xz
Add SSH key option
Diffstat (limited to 'rpmbuild-remote.py')
-rw-r--r--rpmbuild-remote.py3
1 files changed, 3 insertions, 0 deletions
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(),