Ask is moving to Stack Overflow and Serverfault.com! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode

Revision history [back]

I was seeing this behavior, but after nuking my unzipped 0.2.1 and starting fresh it went away. :|

Note that the key error displayed doesn't imply that you didn't connect. The issue is that it's not dropping you into an interactive session, as expected.

[~]$ rm -rf distribution-karaf-0.2.1-Helium-SR1
[~]$ tar xf distribution-karaf-0.2.1-Helium-SR1.tar.gz
[~]$ cd distribution-karaf-0.2.1-Helium-SR1/bin
[~/distribution-karaf-0.2.1-Helium-SR1/bin]$ ./start
# This will likely work on your system. Shows that you are actually connecting to shell.
[~/distribution-karaf-0.2.1-Helium-SR1/bin]$ ./client log:get
client: JAVA_HOME not set; results may vary
Logging in as karaf
267 [pool-2-thread-3] WARN org.apache.sshd.client.keyverifier.AcceptAllServerKeyVerifier - Server at /0.0.0.0:8101 presented unverified key: 
Logger | Level
--------------
ROOT   | INFO
# This is the part that's not working on your system
[~/distribution-karaf-0.2.1-Helium-SR1/bin]$ ./client                                                                                                11:01:05
client: JAVA_HOME not set; results may vary
Logging in as karaf
246 [pool-2-thread-2] WARN org.apache.sshd.client.keyverifier.AcceptAllServerKeyVerifier - Server at /0.0.0.0:8101 presented unverified key: 

    ________                       ________                .__  .__       .__     __       
    \_____  \ ______   ____   ____ \______ \ _____  ___.__.|  | |__| ____ |  |___/  |_     
     /   |   \\____ \_/ __ \ /    \ |    |  \\__  \<   |  ||  | |  |/ ___\|  |  \   __\    
    /    |    \  |_> >  ___/|   |  \|    `   \/ __ \\___  ||  |_|  / /_/  >   Y  \  |      
    \_______  /   __/ \___  >___|  /_______  (____  / ____||____/__\___  /|___|  /__|      
            \/|__|        \/     \/        \/     \/\/            /_____/      \/          


Hit '<tab>' for a list of available commands
and '[cmd] --help' for help on a specific command.
Hit '<ctrl-d>' or type 'system:shutdown' or 'logout' to shutdown OpenDaylight.

opendaylight-user@root>

I also tested the latest Lithium snapshot. It worked as expected.

I was seeing this behavior, but after nuking my unzipped unarchived 0.2.1 and starting fresh it went away. :|

Note that the key error displayed doesn't imply that you didn't connect. The issue is that it's not dropping you into an interactive session, as expected.

[~]$ rm -rf distribution-karaf-0.2.1-Helium-SR1
[~]$ tar xf distribution-karaf-0.2.1-Helium-SR1.tar.gz
[~]$ cd distribution-karaf-0.2.1-Helium-SR1/bin
[~/distribution-karaf-0.2.1-Helium-SR1/bin]$ ./start
# This will likely work on your system. Shows that you are actually connecting to shell.
[~/distribution-karaf-0.2.1-Helium-SR1/bin]$ ./client log:get
client: JAVA_HOME not set; results may vary
Logging in as karaf
267 [pool-2-thread-3] WARN org.apache.sshd.client.keyverifier.AcceptAllServerKeyVerifier - Server at /0.0.0.0:8101 presented unverified key: 
Logger | Level
--------------
ROOT   | INFO
# This is the part that's not working on your system
[~/distribution-karaf-0.2.1-Helium-SR1/bin]$ ./client                                                                                                11:01:05
client: JAVA_HOME not set; results may vary
Logging in as karaf
246 [pool-2-thread-2] WARN org.apache.sshd.client.keyverifier.AcceptAllServerKeyVerifier - Server at /0.0.0.0:8101 presented unverified key: 

    ________                       ________                .__  .__       .__     __       
    \_____  \ ______   ____   ____ \______ \ _____  ___.__.|  | |__| ____ |  |___/  |_     
     /   |   \\____ \_/ __ \ /    \ |    |  \\__  \<   |  ||  | |  |/ ___\|  |  \   __\    
    /    |    \  |_> >  ___/|   |  \|    `   \/ __ \\___  ||  |_|  / /_/  >   Y  \  |      
    \_______  /   __/ \___  >___|  /_______  (____  / ____||____/__\___  /|___|  /__|      
            \/|__|        \/     \/        \/     \/\/            /_____/      \/          


Hit '<tab>' for a list of available commands
and '[cmd] --help' for help on a specific command.
Hit '<ctrl-d>' or type 'system:shutdown' or 'logout' to shutdown OpenDaylight.

opendaylight-user@root>

I also tested the latest Lithium snapshot. It worked as expected.

I was seeing this behavior, but after nuking my unarchived 0.2.1 and starting fresh it went away. :|

Note that the key error displayed doesn't imply that you didn't connect. The issue is that it's not dropping you into an interactive session, as expected.

[~]$ rm -rf distribution-karaf-0.2.1-Helium-SR1
[~]$ tar xf distribution-karaf-0.2.1-Helium-SR1.tar.gz
[~]$ cd distribution-karaf-0.2.1-Helium-SR1/bin
[~/distribution-karaf-0.2.1-Helium-SR1/bin]$ ./start
# This will likely work on your system. Shows that you are actually connecting to shell.
[~/distribution-karaf-0.2.1-Helium-SR1/bin]$ ./client log:get
client: JAVA_HOME not set; results may vary
Logging in as karaf
267 [pool-2-thread-3] WARN org.apache.sshd.client.keyverifier.AcceptAllServerKeyVerifier - Server at /0.0.0.0:8101 presented unverified key: 
Logger | Level
--------------
ROOT   | INFO
# This is the part that's not working on your system
[~/distribution-karaf-0.2.1-Helium-SR1/bin]$ ./client                                                                                                11:01:05
./client
client: JAVA_HOME not set; results may vary
Logging in as karaf
246 [pool-2-thread-2] WARN org.apache.sshd.client.keyverifier.AcceptAllServerKeyVerifier - Server at /0.0.0.0:8101 presented unverified key: 

    ________                       ________                .__  .__       .__     __       
    \_____  \ ______   ____   ____ \______ \ _____  ___.__.|  | |__| ____ |  |___/  |_     
     /   |   \\____ \_/ __ \ /    \ |    |  \\__  \<   |  ||  | |  |/ ___\|  |  \   __\    
    /    |    \  |_> >  ___/|   |  \|    `   \/ __ \\___  ||  |_|  / /_/  >   Y  \  |      
    \_______  /   __/ \___  >___|  /_______  (____  / ____||____/__\___  /|___|  /__|      
            \/|__|        \/     \/        \/     \/\/            /_____/      \/          


Hit '<tab>' for a list of available commands
and '[cmd] --help' for help on a specific command.
Hit '<ctrl-d>' or type 'system:shutdown' or 'logout' to shutdown OpenDaylight.

opendaylight-user@root>

I also tested the latest Lithium snapshot. It worked as expected.