mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-15 06:43:54 +00:00
fix - removed annoying message 'enter your password for the ssh key'
This commit is contained in:
parent
02eabc9276
commit
5c33cbdf33
@ -107,6 +107,9 @@ var create_ssh_key = function (prefix) {
|
||||
};
|
||||
openssl.exec('req', opts, function (err, buffer) {
|
||||
if (err) console.log(clr.red(err));
|
||||
openssl.exec('rsa', { in: opts.keyout, out: opts.keyout }, function (err, buffer) {
|
||||
if (err) console.log(clr.red(err));
|
||||
});
|
||||
fs.chmod(opts.keyout, '0600', function (err) {
|
||||
if (err) console.log(clr.red(err));
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user