Commit 488249c0 authored by Thorbjørn Lindeijer's avatar Thorbjørn Lindeijer
Browse files

Maemo/MeeGo: Don't make .ssh/authorized_keys executable


Reviewed-by: default avatarChristian Kandeler <christian.kandeler@nokia.com>
parent eb433c80
......@@ -74,7 +74,7 @@ void MaemoKeyDeployer::deployPublicKey(const SshConnectionParameters &sshParams,
SLOT(handleKeyUploadFinished(int)));
const QByteArray command = "test -d .ssh "
"|| mkdir .ssh && chmod 0700 .ssh && echo '"
+ key + "' >> .ssh/authorized_keys && chmod 0700 .ssh/authorized_keys";
+ key + "' >> .ssh/authorized_keys && chmod 0600 .ssh/authorized_keys";
m_deployProcess->run(command);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment