Details
-
Bug
-
Resolution: Not a Bug
-
Major
-
None
-
jboss-fuse-6.3, fuse-6.x-GA
-
None
-
%
Description
In order to manage authentication by key, I have followed these steps:
ssh-keygen -t dsa -f karaf.id_dsa -N karaf
You have now the public and private keys:
karaf.id_dsa karaf.id_dsa.pub
After the copy of the content of the karaf.id_dsa.pub file in the etc/keys.properties:
karaf=AAAAB3NzaC1kc3MAAACBAMr7xsh8/MhULzKb2ylbJRbb17XPZVTHP7qGZvVudIQFjgMKQgvTE5Pugqtw24M2qCO3IFxfBvNwJdRH0GPJyWis/S5fdVCBE8AoQBGCUx+tZRmzhomIlF+wvNRV3cvbLs1U29zppGuRFgmpyESRE0EXGI0wzsc19B6EdmKY5XWpAAAAFQDDJEEGb/XTD4oK2CnZvkqcJA/thQAAAIEArsTjhKp+lf0At5I62PZeNOVW8717DYt+9N1eMgK4EClOSN4Yek6D96x10BmWGy0BNlkNqWOnh4VhjoeGZwsr1Mh9a/xzTM9tp5Q9TUk/pLiUR4M7MLrIMw3WLHbJ7Aoxm9bUSR0RsCDKNk8NBMNGS3waxQ4TvMBhDqxfzn0/64oAAACAZv2jfC9R7hRvWUSyrsnLrmVY3Eb7qTb50N3X3DepYQhdC/DUzCuLD05J6RE56SUh9X/kVkes7oWmEzWH7d/XIchav3lz1vhbkuby7vXFUbwdJ7JQfiowH3CQFM+s17UGgNx2dObYoBipMZJ1paZu1VJB3/kZDg1e2Nc7/4EebMY=,_g_:admingroup _g_\:admingroup = admin,admin,manager,viewer, Operator, Maintainer, Deployer, Auditor, Administrator, SuperUser
After that i used the private key for authentication like following:
bin/client -k karaf.id_dsa
The issue here, if i provide different user than admin it doesn't work.