Click here to Skip to main content
15,947,472 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have to access personal git repository at the university . I have been asked to Generate SSH key.

i am using this command to generate SSH key

HTML
ssh-keygen -t rsa -b 4096 -C "your_email@example.com"


I want to ask

Can i use username instead of email for this command like

HTML
ssh-keygen -t rsa -b 4096 -C "myusername"
Posted
Comments
Richard MacCutchan 22-Aug-15 9:19am    
Check the documentation to see what the options are.

1 solution

Read the documentation : https://en.wikipedia.org/wiki/Ssh-keygen[^]

-C is a comment so you can write anything you want.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900