Linux에서 실행중인 opendaylight 서버에 백 라운드 프로세스로 액세스하려고합니다. 배포 karaf-0.2.1-Helium-SR1을 실행 중입니다. 나는 경우에 당신은 당신이 할 필요가Karaf 클라이언트가 Linux 서버에 연결하지 못했습니다.
./client을 실행하고 연결이 수행됩니다 동일한 시스템에서 연결을 시도하는 이해하는 것과
.
그러나 내가 가진 전부입니다
[루트 @ D20-SRV-81-32 빈] # 개의 ./client 로깅과 같이 karaf 258 [풀-2 스레드-2] WARN 조직 #
내가 시도에 연결하려면 [D20-SRV-81-32 빈은 @ 루트]를 사용하여 : - .apache.sshd.client.keyverifier.AcceptAllServerKeyVerifier 키 확인되지 않은 /0.0.0.0:8101에서 서버 제시 간단한 ssh : ssh -o UserKnownHostsFile =/dev/null -o StrictHostKeyChecking = no -p 8101 karaf @ localhost 작업이 성공적입니다.
문제가 발생 했습니까?
결과 -v더 많은 정보 ./client
[[email protected] bin]# ./client -v
23 [main] INFO org.apache.sshd.common.util.SecurityUtils - BouncyCastle not registered, using the default JCE provider
207 [pool-2-thread-1] INFO org.apache.sshd.client.session.ClientSessionImpl - Session created...
Logging in as karaf
215 [pool-2-thread-1] INFO org.apache.sshd.client.session.ClientSessionImpl - Server version string: SSH-2.0-SSHD-CORE-0.12.0
216 [pool-2-thread-1] INFO org.apache.sshd.client.session.ClientSessionImpl - Received SSH_MSG_KEXINIT
227 [pool-2-thread-1] INFO org.apache.sshd.client.kex.DHG1 - Send SSH_MSG_KEXDH_INIT
234 [pool-2-thread-2] INFO org.apache.sshd.client.kex.DHG1 - Received SSH_MSG_KEXDH_REPLY
241 [pool-2-thread-2] WARN org.apache.sshd.client.keyverifier.AcceptAllServerKeyVerifier - Server at /0.0.0.0:8101 presented unverified key:
241 [pool-2-thread-2] INFO org.apache.sshd.client.session.ClientSessionImpl - Received SSH_MSG_NEWKEYS
245 [pool-2-thread-2] INFO org.apache.sshd.client.session.ClientSessionImpl - Send SSH_MSG_SERVICE_REQUEST for ssh-userauth
248 [main] INFO org.apache.sshd.client.auth.UserAuthAgent - Send SSH_MSG_USERAUTH_REQUEST for publickey
256 [pool-2-thread-5] INFO org.apache.sshd.client.auth.UserAuthAgent - Received SSH_MSG_USERAUTH_SUCCESS
306 [main] INFO org.apache.sshd.client.channel.ChannelShell - Send SSH_MSG_CHANNEL_OPEN on channel 101
307 [pool-2-thread-2] INFO org.apache.sshd.client.channel.ChannelShell - Send agent forwarding request
308 [pool-2-thread-2] INFO org.apache.sshd.client.channel.ChannelShell - Send SSH_MSG_CHANNEL_REQUEST pty-req
308 [pool-2-thread-2] INFO org.apache.sshd.client.channel.ChannelShell - Send SSH_MSG_CHANNEL_REQUEST env
309 [pool-2-thread-2] INFO org.apache.sshd.client.channel.ChannelShell - Send SSH_MSG_CHANNEL_REQUEST shell
[루트 @ D20-SRV-81-32 빈] 난의 우편 자료를 사용하기 때문에 문제가 발생했다 #
버그가 발생한 것처럼 보입니다. https://issues.apache.org/jira/browse/KARAF에서 새로운 문제를 신고하십시오. –
@AchimNierbeck 잘 모르겠습니다. 내가 찾은 해결책 좀 봐. – raven