Print dropbear public key

Dropbear creates an ssh key in binary. To print out the public key, use:

dropbearkey -t <keytype> -y -f <filepath>

For example:

$ dropbearkey -t dss -y -f .ssh/dropbear.key
Public key portion is:
ssh-dss AAAAB3NzaC1kc3MAAACBAPl[...]== some_key
Fingerprint: md5 75:d7:d0:2b:1d:56:4c:42:06:cc:00:9a:53:ba:f2:d7

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s