++ umask
This commit is contained in:
parent
c845966dc9
commit
5dae663343
1 changed files with 3 additions and 0 deletions
|
@ -44,6 +44,9 @@ be accessed on **http://metadata/ssh-keys**. A Unix alike OS could use
|
||||||
this information similar to the following code snippet:
|
this information similar to the following code snippet:
|
||||||
|
|
||||||
```
|
```
|
||||||
|
# Thanks to @LeahNeukirchen
|
||||||
|
umask 077
|
||||||
|
|
||||||
tmp=$(mktemp)
|
tmp=$(mktemp)
|
||||||
curl http://metadata/ssh-keys > "${tmp}"
|
curl http://metadata/ssh-keys > "${tmp}"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue