diff --git a/pkg/crc/machine/start.go b/pkg/crc/machine/start.go index 2d6b3115fc..1ec8f6f4cd 100644 --- a/pkg/crc/machine/start.go +++ b/pkg/crc/machine/start.go @@ -626,9 +626,7 @@ func updateSSHKeyPair(sshRunner *crcssh.Runner) error { } logging.Info("Updating authorized keys...") - // CopyData uses sudo and we need to use it - // because of https://bugzilla.redhat.com/show_bug.cgi?id=1956739 - err = sshRunner.CopyDataPrivileged(publicKey, "/home/core/.ssh/authorized_keys", 0644) + err = sshRunner.CopyData(publicKey, "/home/core/.ssh/authorized_keys", 0644) if err != nil { return err }