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: [email protected]
Reporter: [email protected]
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.
_______________________________________________
openssh-bugs mailing list
[email protected]
https://lists.mindrot.org/mailman/listinfo/openssh-bugs