[X2Go-Commits] [x2goclient] 25/38: pyhoca-cli: Don't try to immitate look_for_keys behaviour as implemented in the x2go Python module.

git-admin at x2go.org git-admin at x2go.org
Fri Dec 15 21:15:24 CET 2023


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository x2goclient.

commit c12d0ca9029b286591e54f76d8d1cb058fd93f77
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Tue Aug 8 15:10:47 2023 +0200

    pyhoca-cli: Don't try to immitate look_for_keys behaviour as implemented in the x2go Python module.
---
 pyhoca-cli | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/pyhoca-cli b/pyhoca-cli
index d5356997..39148fda 100755
--- a/pyhoca-cli
+++ b/pyhoca-cli
@@ -493,10 +493,6 @@ Possible values for the --pack NX option are:
     # check if ssh priv key exists
     if a.ssh_privkey and not os.path.isfile(a.ssh_privkey):
         runtime_error("SSH private key %s file does not exist." % a.ssh_privkey, parser=p, exitcode=30)
-    if not a.ssh_privkey and os.path.isfile('%s/.ssh/id_rsa' % current_home):
-        a.ssh_privkey = '%s/.ssh/id_rsa' % current_home
-    if not a.ssh_privkey and os.path.isfile('%s/.ssh/id_dsa' % current_home):
-        a.ssh_privkey = '%s/.ssh/id_dsa' % current_home
 
     # only look for ssh keys if no ssh privkey is specified
     if a.ssh_privkey:

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2goclient.git


More information about the x2go-commits mailing list