Unable to login to Runtime ESBse v7.0.1 using karaf client

Six Stars

Unable to login to Runtime ESBse v7.0.1 using karaf client

Having just installed Talend ESB 7.0.1 I've started the karaf container, and now am trying to log into it. I'm getting the following when trying to connect:

 

Logging in as tadmin
Password:
Password:
No more authentication methods available

typing tadmin as the password doesn't work, and I've checked the users.properties file and that shows that the password is correct.

 

I've tried this on two separate machines (Windows10 and Server2016) and both do exactly the same.

 

Using trun.bat I can get a console, and having checked the jaas:realm-list and user-list everything looks fine. It just doesn't connect with client.bat.

 

Talend 6.5.1 works fine on both machines.

 

Can anybody suggest why this might be?

 

Thanks!


Accepted Solutions
Thirteen Stars

Re: Unable to login to Runtime ESBse v7.0.1 using karaf client

You need edit file - TOS_ESB-20180411_1414-V7.0.1/Runtime_ESBSE/container/etc/users.properties

 

and add ssh role

_g_\:admingroup = group,admin,manager,viewer,systembundles,ssh
-----------

All Replies
Thirteen Stars

Re: Unable to login to Runtime ESBse v7.0.1 using karaf client

You need edit file - TOS_ESB-20180411_1414-V7.0.1/Runtime_ESBSE/container/etc/users.properties

 

and add ssh role

_g_\:admingroup = group,admin,manager,viewer,systembundles,ssh
-----------
Six Stars

Re: Unable to login to Runtime ESBse v7.0.1 using karaf client

Thank you so much - sorted it in 10 seconds.

 

I couldn't find this anywhere in the installation or container configuration guide.

Four Stars fxd
Four Stars

Re: Unable to login to Runtime ESBse v7.0.1 using karaf client

Actually, the name of the ssh role is not fixed, it is defined in file TOS_ESB-20180411_1414-V7.0.1/Runtime_ESBSE/container/etc/org.apache.karaf.shell.cfg

 

#
# shRole defines the role required to access the console through ssh
#
sshRole = ssh

But yes, that is the default.