From dd2e4ec887d68533ab1750fceb1ad3f06df666bf Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bar=C4=B1=C5=9F=20Metin?= Date: Mon, 5 Jul 2010 17:14:11 +0000 Subject: [PATCH 1/1] fix key generation --- plugins/sliverauth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/sliverauth.py b/plugins/sliverauth.py index 06c5c22..51f44c9 100644 --- a/plugins/sliverauth.py +++ b/plugins/sliverauth.py @@ -96,7 +96,7 @@ def generate_sshkey (sliver): # keyfile="/vservers/%s/home/%s/.ssh/id_rsa"%(sliver['name'],sliver['name']) # we're now storing this in the same place as the authorized_keys, which in turn # gets mounted to the user's home directory in the sliver - keyfile="/home/%s/.ssh/id_rsa"%(sliver['name'],sliver['name']) + keyfile="/home/%s/.ssh/id_rsa"%(sliver['name']) pubfile="%s.pub"%keyfile dotssh=os.path.dirname(keyfile) # create dir if needed -- 2.43.0