Thank you everyone for your posts

I have taken the advice of attempting to connect to karaf using SSH, but I
cannot connect successfully over C# using SSH.net

            using (var client = new SshClient("localhost", 8101, "smx",
"smx")) {
               client.Connect();

As when doing so I get
    /error: No connection could be made because the target machine actively
refused it [::1]:8101/

I have confirmed that the port and address are correct by checking
KARAF_HOME/etc/org.apache.karaf.shell.cfg, and it still has the default
configuration :

#
# Via sshPort and sshHost you define the address you can login into Karaf.
#
sshPort=8101
sshHost=0.0.0.0

(I checked this file based on the information at
http://fusesource.com/docs/esb/4.4.1/esb_runtime/ESBRuntimeRemoteConfig.html)

I have confirmed that I can indeed connect to FuseEsb/Karaf using
KARAF_HOME/bin/client.bat with user = smx, and password = smx and I get in
successfully

I have also confirmed I can ssh with with putty and that works fine too

Is there anything I need to do additionally when not using the putty/karaf
ssh client? Maybe something to do with ssh keys or anything like that?

I'd appreciate any help with this please :)




--
View this message in context: 
http://karaf.922171.n3.nabble.com/Interact-with-Karaf-using-C-tp4026654p4026795.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Reply via email to