[linux] how to generate a ssh2 key

# ssh-keygen -t rsa -b 2048
# ssh-keygen -e -f id_rsa.pub
—- BEGIN SSH2 PUBLIC KEY —-
bAAAB3Nzax1yc2EAAA3BIwAAAQEAx8xMS2x3x+Rx2xKxHxsxVxUxvxWxhx/xPxHxZx3xvE
6IJuidg+DxRWcu0Z4+zlP8lDfvQHox5y80qnK5LxQN4doae8mSxvNMuByxox5xTxnxaxGr
bZLvKWauRRxIWF7AeEU3St3fCjUAxchHD0HDJFv10J4lyxfjLdBNdLKMPtlgD8vCgmfV4A
T+6Lf7IA9jZxr68ZQEGESdhzMwtuxO8J467GQ5eU0L2HL5pwd7OujEqPW8Y5OnzhZCMd8S
b7HiXZpeL2WLaNYSEggispn09UH7SSexUDxcxxDCppnJaxcQNr6UoIJ+/qQAMT2jUYxzaH
Lur7kkpSvCYUJIvnYIyw==
—- END SSH2 PUBLIC KEY —-

Leave a Reply

Your email address will not be published. Required fields are marked *