8027348d8a
The sshkey should not be reset when changing to https protocol.
(cherry picked from commit deb14110aa)