Accessing Repository via SSH (kie-wb on tomcat 7)
dheeraj.mummareddy Feb 2, 2015 5:50 PMVersions: kie-wb-distribution-wars-6.2.0.CR2-tomcat7.war, kie-wb-distribution-wars-6.2.0.CR4-tomcat7.war, kie-wb-distribution-wars-6.3.0-SNAPSHOT
Application Server: apache-tomcat-7.0.57
Followed instructions on README.txt and successfully deployed kie-wb in tomcat7,with org.kie.demo system property enabled. When trying to clone local jbpm-playground respository, always get Authentication errors.
GIT CLONE (iam 100% sure the username and password combination is correct)
$ git clone ssh://admin@localhost:8001/jbpm-playground
Cloning into 'jbpm-playground'...
Password authentication
Password:
Password authentication
Password:
Password authentication
Password:
admin@localhost's password:
Permission denied, please try again.
admin@localhost's password:
Permission denied, please try again.
admin@localhost's password:
Permission denied (password,keyboard-interactive).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Logs:
2015-02-02 15:33:22,868 [pool-9-thread-1] DEBUG About to synchronize deployment units, found new enabled [], found new disabled []
2015-02-02 15:33:22,981 [pool-10-thread-1] DEBUG About to execute jobs...
2015-02-02 15:33:22,981 [pool-10-thread-1] DEBUG Executor Thread org.jbpm.executor.impl.AvailableJobsExecutor@12b161d8 Waking Up!!!
2015-02-02 15:33:23,764 [sshd-SshServer[2f220cd9]-nio2-thread-2] DEBUG Read 144 bytes
2015-02-02 15:33:23,765 [sshd-SshServer[2f220cd9]-nio2-thread-2] DEBUG Received SSH_MSG_USERAUTH_REQUEST
2015-02-02 15:33:23,765 [sshd-SshServer[2f220cd9]-nio2-thread-2] DEBUG Authenticating user 'admin' with service 'ssh-connection' and method 'password'
2015-02-02 15:33:23,768 [sshd-SshServer[2f220cd9]-nio2-thread-2] DEBUG Authentication failed
2015-02-02 15:33:23,769 [sshd-SshServer[2f220cd9]-nio2-thread-2] DEBUG Writing 80 bytes
2015-02-02 15:33:23,771 [sshd-SshServer[2f220cd9]-nio2-thread-2] DEBUG Finished writing
2015-02-02 15:33:25,151 [sshd-SshServer[2f220cd9]-nio2-thread-3] DEBUG Read 144 bytes
2015-02-02 15:33:25,151 [sshd-SshServer[2f220cd9]-nio2-thread-3] DEBUG Received SSH_MSG_USERAUTH_REQUEST
2015-02-02 15:33:25,151 [sshd-SshServer[2f220cd9]-nio2-thread-3] DEBUG Authenticating user 'admin' with service 'ssh-connection' and method 'password'
2015-02-02 15:33:25,154 [sshd-SshServer[2f220cd9]-nio2-thread-3] DEBUG Authentication failed
2015-02-02 15:33:25,155 [sshd-SshServer[2f220cd9]-nio2-thread-3] DEBUG Writing 80 bytes
2015-02-02 15:33:25,158 [sshd-SshServer[2f220cd9]-nio2-thread-4] DEBUG Finished writing
2015-02-02 15:33:25,869 [pool-9-thread-1] DEBUG About to synchronize deployment units, found new enabled [], found new disabled []
2015-02-02 15:33:25,982 [pool-10-thread-1] DEBUG About to execute jobs...
2015-02-02 15:33:25,982 [pool-10-thread-1] DEBUG Executor Thread org.jbpm.executor.impl.AvailableJobsExecutor@12b161d8 Waking Up!!!
2015-02-02 15:33:26,570 [sshd-SshServer[2f220cd9]-nio2-thread-5] DEBUG Read 144 bytes
2015-02-02 15:33:26,571 [sshd-SshServer[2f220cd9]-nio2-thread-5] DEBUG Received SSH_MSG_USERAUTH_REQUEST
2015-02-02 15:33:26,571 [sshd-SshServer[2f220cd9]-nio2-thread-5] DEBUG Authenticating user 'admin' with service 'ssh-connection' and method 'password'
2015-02-02 15:33:26,574 [sshd-SshServer[2f220cd9]-nio2-thread-5] DEBUG Authentication failed
2015-02-02 15:33:26,575 [sshd-SshServer[2f220cd9]-nio2-thread-5] DEBUG Writing 80 bytes
2015-02-02 15:33:26,577 [sshd-SshServer[2f220cd9]-nio2-thread-5] DEBUG Finished writing
2015-02-02 15:33:26,578 [sshd-SshServer[2f220cd9]-nio2-thread-2] DEBUG Socket has been disconnected, closing IoSession now
2015-02-02 15:33:26,579 [sshd-SshServer[2f220cd9]-nio2-thread-2] DEBUG Closing Nio2Session[local=/127.0.0.1:8001, remote=/127.0.0.1:49733] immediately
2015-02-02 15:33:26,584 [sshd-SshServer[2f220cd9]-nio2-thread-2] DEBUG Closing ServerSession[null@/127.0.0.1:49733] immediately
2015-02-02 15:33:26,585 [sshd-SshServer[2f220cd9]-nio2-thread-2] DEBUG Closing org.apache.sshd.server.session.ServerUserAuthService@513d5f6d immediately
2015-02-02 15:33:26,587 [sshd-SshServer[2f220cd9]-nio2-thread-2] DEBUG org.apache.sshd.server.session.ServerUserAuthService@513d5f6d closed
2015-02-02 15:33:26,588 [sshd-SshServer[2f220cd9]-nio2-thread-2] DEBUG Nio2Session[local=/127.0.0.1:8001, remote=/127.0.0.1:49733] is already closed
2015-02-02 15:33:26,590 [sshd-SshServer[2f220cd9]-nio2-thread-2] DEBUG ServerSession[null@/127.0.0.1:49733] closed
2015-02-02 15:33:26,591 [sshd-SshServer[2f220cd9]-nio2-thread-2] DEBUG Nio2Session[local=/127.0.0.1:8001, remote=/127.0.0.1:49733] closed
login.config:
ApplicationRealm {
org.apache.catalina.realm.JAASMemoryLoginModule REQUIRED debug=true;
};
snippet from tomcat-users.xml
<role rolename="analyst"/>
<role rolename="admin"/>
<role rolename="developer"/>
<user username="admin" password="admin" roles="admin"/>
Am i missing something?
Thanks in advance.
-DM