More than 5 years have passed since last update.
ssh-keygen -y -f ~/.ssh/id_dsa > ~/.ssh/id_dsa.pub
ポイント: -yつける 以上
-y
Register as a new user and use Qiita more conveniently