Which pom ? Can you raise a JIRA issue on Karaf so we can fix that if needed ?
2009/5/20 Sergey Shcherbakov <[email protected]>: > Found the problem. > The org.apache.servicemix.kernel.jaas.boot dependency was missing in the > project pom file. > > Best Regards, > Sergey Shcherbakov. > -----Original Message----- > From: Sergey Shcherbakov [mailto:[email protected]] > Sent: Tuesday, May 19, 2009 12:25 PM > To: [email protected] > Subject: Problem connecting to embedded servicemix kernel 1.1.0 > > Hi all, > > > > I am having problem connecting to embedded servicemix 1.1.0 instance > over ssh. > > In order to connect I am using another distribution folder and the > command line command: > > > > java -jar lib/servicemix-client.jar > > > > the client exists silently with no error messages > > Interesting that I was able to connect to embedded instance previously > but not now any more. > > Both embedded instance and local distribution have sshProt set to 8101. > > I am seeing that the 8101 is listening and in the embedded instance log > file I am seeing that an attempt to login is being made: > > > > 12:15:48,093 | INFO | ymousIoService-1 | DHG1 > | shd.server.kex.AbstractDHGServer 61 | Received SSH_MSG_KEXDH_INIT > > 12:15:48,109 | INFO | ymousIoService-1 | DHG1 > | shd.server.kex.AbstractDHGServer 102 | Send SSH_MSG_KEXDH_REPLY > > 12:15:48,109 | INFO | ymousIoService-1 | ServerSession > | d.common.session.AbstractSession 466 | Send SSH_MSG_NEWKEYS > > 12:15:48,140 | INFO | ymousIoService-2 | ServerSession > | shd.server.session.ServerSession 136 | Received SSH_MSG_NEWKEYS > > 12:15:48,203 | INFO | ymousIoService-3 | ServerSession > | shd.server.session.ServerSession 147 | Received > SSH_MSG_SERVICE_REQUEST 'ssh-userauth' > > 12:15:48,203 | INFO | ymousIoService-3 | ServerSession > | shd.server.session.ServerSession 260 | Accepting user authentication > request > > 12:15:48,203 | INFO | ymousIoService-3 | ServerSession > | shd.server.session.ServerSession 265 | Authorized authentication > methods: password,publickey > > 12:15:48,203 | INFO | ymousIoService-4 | ServerSession > | shd.server.session.ServerSession 160 | Received > SSH_MSG_USERAUTH_REQUEST > > 12:15:48,203 | INFO | ymousIoService-4 | ServerSession > | shd.server.session.ServerSession 275 | Authenticating user 'smx' with > method 'password' > > 12:15:48,203 | INFO | ymousIoService-4 | ServerSession > | shd.server.session.ServerSession 291 | Authentication failed: > Authentication failed: bad username or password supplied > > 12:15:48,234 | INFO | ymousIoService-5 | ServerSession > | d.common.session.AbstractSession 156 | Closing session > > > > Both instances' configurations are same what relates to the SSH. > > The users.properties files contain same > > > > smx=smx,admin > > > > entry. > > The same occurs if I use -u smx -p admin parameters when connecting > using servicemix-client.jar > > > > Btw, where and how can I define users who can have remote ssh access and > their passwords? > > > > Best Regards, > > Sergey Shcherbakov. > > > > -- Cheers, Guillaume Nodet ------------------------ Blog: http://gnodet.blogspot.com/ ------------------------ Open Source SOA http://fusesource.com
