summaryrefslogtreecommitdiffstats
path: root/rpmbuild-remote.py
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2009-09-08 20:54:35 -0400
committerBen Boeckel <MathStuf@gmail.com>2009-09-08 20:54:35 -0400
commit9485b1b08edbcd61d0a77fe2c8d85ada57b646ef (patch)
tree1c58e6788238ad88f5d2cb712d26cc3bce686c33 /rpmbuild-remote.py
parent3f26995bf3f43c7fa091856d6c841439742ba19d (diff)
downloadrpmbuild-remote-9485b1b08edbcd61d0a77fe2c8d85ada57b646ef.zip
rpmbuild-remote-9485b1b08edbcd61d0a77fe2c8d85ada57b646ef.tar.gz
rpmbuild-remote-9485b1b08edbcd61d0a77fe2c8d85ada57b646ef.tar.xz
Add a default to the ssh-key option
Diffstat (limited to 'rpmbuild-remote.py')
-rw-r--r--rpmbuild-remote.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/rpmbuild-remote.py b/rpmbuild-remote.py
index f8cd500..6142861 100644
--- a/rpmbuild-remote.py
+++ b/rpmbuild-remote.py
@@ -35,7 +35,9 @@ def get_parser():
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")
+ default=os.path.join(home, ".ssh/id_rsa")
+ help="The private SSH key to use to login. "
+ "[Default: ~/.ssh/id_rsa]")
parser.add_option("-u", "--user",
action="store", type="string", dest="user",
default=os.getlogin(),