How to remove heroku ssh keys that don't have a name -
the heroku docs mention how remove ssh keys have name associated them using heroku keys:remove:
https://devcenter.heroku.com/articles/keys
but have managed upload keys don't have name , can't find way delete them. heroku keys:remove command expects name specified.
is there other way clear ssh keys associated account?
you can delete keys in web interface on heroku. or use heroku keys:remove
full public key (or first part of public key)
$ heroku keys === my@email.com keys ssh-rsa aaaab3nzac...gegfp2jw== ssh-rsa aaaab3nzac...wzp2pjuw==
two keys without names , want delete second ending in 'juw=='. full key, use -l flag.
$ heroku keys -l === my@email.com keys ssh-rsa aaaab3nzac1yc2eaaaabiwaaaqeash1gfnghrmfsq+dkg71vtyjkrjzladimxj9m7elhczom6a3e/9gefzvxosirtqicbxnpabxo/nx4zhh/ft5l+yhmohj0fqdghhcz3g3elng5+ve+aj3ade3xy3fidm9znkmth5ymgl+aboig7cjybwvll5wrmmaytpdunvehw0airrs4bego+lzvz+eo+ip+jj3pxwz4kunnw82oy1+twfvswwudyavfbrksyptj50kbtgi8qesjtvinwh8x76amkdzj1cberuh3/1iusguvtyu8k3pcrzu/qysqo1/9hk2cm0zjgulnhuugvsaz3e1ivwau6bk2yhxsglgegfp2jw== ssh-rsa aaaab3nzac1yc2eaaaabiwaaaqea1dk18ddzls2b3ops3vodw+ya8lj4lc+hf9cs2uitrxdcqali7umt3jxax/f5aadwro5f3jjrcl2w6wwj6xd0fubx9ev77nbbdgawmhngqg23bqtjlw3uzern94n4zhvxw/0pmud3/tz1snrawle/q8telajj8vjt2k8ifhh7flwuoxqa0vlhg3nxfavhhy+rlcjnmdyjxvyikdko91jtmstlt4hipadtptyfet0orukpfzt8/zgpeheenweqzlgdphc+knxww3b7yfcseuesygweszmnto7opeq2yiuednhtrspkzbrxzm1qu1y0uv8jqqj1y0usqgsjqqwzp2pjuw==
you don't need use full key (but can) enough of string unique.
$ heroku keys:remove aaaab3nzac1yc2eaaaabiwaaaqea1dk18ddzls2b3ops3vodw removing aaaab3nzac1yc2eaaaabiwaaaqea1dk18ddzls2b3ops3vodw ssh key... done
success!
$ heroku keys === my@email.com keys ssh-rsa aaaab3nzac...gegfp2jw==
Comments
Post a Comment