Created
July 26, 2019 20:55
-
-
Save zallarak/48109d70d39a063cc214e79faa4da9c6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const fs = require('fs') | |
const pk = fs.readFileSync('/home/' + process.env.USER + '/.ssh/id_rsa').toString() | |
console.log(pk) | |
gvar = pk | |
console.log('This is your SSH key, kthxbai') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment