Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ```
- // generate rsa pub from priv
- $ openssl rsa -in ~/.ssh/foo -pubout > foo.pub
- // format that to ssh-rsa from the pubout
- $ ssh-keygen -f ~/.ssh/foo.pub -i -mPKCS8 > bar.pub
- // for some reason you can't redirect to the file being read in
- $ mv bar.pub foo.pub
- // correct perms
- $ chmod 0644 foo.pub
- ```
Add Comment
Please, Sign In to add comment