Home · Latest · Trends  /  general
0

Create stronger SSH keys

rated 0 times [  0] [ 0]  / comments: 0 / hits: 44  / 3 months ago, thu, mar 1, 2018, 11:53:25
Create stronger SSH keys than the default 1024 bit
# Create a 4096 bit ssh key named my_key
ssh-keygen -f ~/.ssh/my_key -t rsa -b 4096

# Create an Ed25519 key named my_ed_key (may not work on older machines)
# With ssh-keygen use the -o option for the new RFC4716 key format and the use of a modern key derivation function powered by
# bcrypt. Use the -a <num> option for <num> amount of rounds.
ssh-keygen -o -a 100 -f ~/.ssh/my_ed_key -t ed25519

More From » general
 

Comments

There are no comments for this Snippet yet
Only authorized users can post. Please sign in first, or register a free account
 
Share
Sponsor
Posted
rob

rob

Member since Feb 22, 2017
Total Code Snippets: 108
Total Comments: 1
Location: n/a
Following
User not following anyone yet.
rob snippets
1 year ago, wed, feb 22, 2017
1 year ago, wed, feb 22, 2017
1 year ago, wed, feb 22, 2017
1 year ago, wed, feb 22, 2017
1 year ago, wed, feb 22, 2017
1 year ago, wed, feb 22, 2017
1 year ago, wed, feb 22, 2017
1 year ago, wed, feb 22, 2017