Renaming SSH keys is not working right

Renaming SSH keys is not working right

Postby maclemming » Tue Oct 30, 2012 12:31 pm

In the SSH Key Manager, when you click on a key and select 'Rename', the next form says to "Enter passphrase and new name", with two text fields. The first text field does not do anything, and the second field is what is used to change the key name. This should be changed to a single field, since there is a different select option to change the passphrase.
maclemming
 
Posts: 46
Joined: Mon Dec 19, 2011 12:39 pm

Re: Renaming SSH keys is not working right

Postby maclemming » Tue Oct 30, 2012 12:34 pm

Also, if you change the name of an SSH key, any sessions that were associated with it, are set to "No Key Auth". They should automatically be updated to the new name.
maclemming
 
Posts: 46
Joined: Mon Dec 19, 2011 12:39 pm

Re: Renaming SSH keys is not working right

Postby raf » Wed Nov 07, 2012 12:22 pm

maclemming wrote:In the SSH Key Manager, when you click on a key and select 'Rename', the next form says to "Enter passphrase and new name", with two text fields. The first text field does not do anything, and the second field is what is used to change the key name. This should be changed to a single field, since there is a different select option to change the passphrase.


The problem is that the "comment" of the sshkey needs to be updated to the new name, and the passphrase is required if the key is passphrase protected.
I guess a better solution would be to:
-Attempt changing the comment without a passphrase. If one is needed, request it then.

I also agree the sessions need to be updated to use the new key name. Thanks for that!

Raf.
raf
Site Admin
 
Posts: 1691
Joined: Sat Oct 09, 2010 12:17 am

Re: Renaming SSH keys is not working right

Postby raf » Wed Nov 07, 2012 12:49 pm

raf
Site Admin
 
Posts: 1691
Joined: Sat Oct 09, 2010 12:17 am


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 4 guests

cron
cron