[Bug 2284] New: ssh-copy-id option to replace one key with another key (or ssh-replace-id command)
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Thu Oct 2 11:29:40 EST 2014
https://bugzilla.mindrot.org/show_bug.cgi?id=2284
Bug ID: 2284
Summary: ssh-copy-id option to replace one key with another key
(or ssh-replace-id command)
Product: Portable OpenSSH
Version: 6.6p1
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5
Component: ssh-copy-id
Assignee: unassigned-bugs at mindrot.org
Reporter: pabs3 at bonedaddy.net
It would be nice to have a way to login to a remote host and replace
one key with another key quickly and safely. The command should do
something like this. I think that sed -i or some combination of grep
commands would be the way to do it. It should probably work like this:
Login with the old key to add the new key
If failure, print error
If success, login with the new key and remove the old key.
If failure, login with the old key and remove the new key.
If success, print success.
--
You are receiving this mail because:
You are watching the assignee of the bug.
More information about the openssh-bugs
mailing list