The default port is 8181 not 8081 On Fri, Jul 16, 2010 at 14:20, Charles Moulliard <[email protected]> wrote: > The syntax is not correct, I will change the wiki page > > Bad : > > ka...@client> ssh:ssh tcp://localhost:8101/ -u karaf -p karaf > Error executing command: Too many arguments specified > ka...@client> ssh:ssh tcp://localhost:8101/ -l karaf -p karaf > Error executing command: Too many arguments specified > > Good : > > ka...@client> ssh:ssh -l karaf -p karaf -p 8081 localhost > > > BTW, I cannot connect to the server : > > ka...@client> ssh:ssh -l karaf -p karaf -p 8081 localhost > Connecting to host localhost on port 8081 > Password: Error executing command: Failed to get the session. > ka...@client> > > > > On Fri, Jul 16, 2010 at 1:59 PM, Guillaume Nodet <[email protected]> wrote: > >> Done >> >> On Fri, Jul 16, 2010 at 12:57, Charles Moulliard <[email protected]> >> wrote: >> > Hi, >> > >> > This part of the users guide of Karaf is not clear enough and probably >> > wrong. >> > >> > http://karaf.apache.org/42-remote-console.html - Using another Karaf >> > instance >> > >> > Point A >> > >> > I have followed what is described in the section >> > 1) start karaf server --> bin/karaf server >> > 2) next create a new karaf instance --> admin:create client >> > 3) go to the directory of this 'client' instance and launch the command >> > a) instance/client/bin/karaf client (ok that works) >> > b) but the command --> 'instance/client/bin/karaf client remote rsh >> > tcp://localhost:8101/ -u karaf -p karaf' starts the client and not a >> console >> > connected to the server (= port 8101) >> > >> > Point B >> > >> > The command 'remote ssh' or 'remote' as presented in the text/users guide >> > are not part of Karaf command. >> > >> > Can someone update this part of the manual (remove also servicemix/smx >> text) >> > to clarify ? >> > >> > Kind regards, >> > >> > Charles Moulliard >> > >> > Senior Enterprise Architect (J2EE, .NET, SOA) >> > Apache Camel - ServiceMix Committer >> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> > Blog : http://cmoulliard.blogspot.com | Twitter : >> > http://twitter.com/cmoulliard >> > Linkedin : http://www.linkedin.com/in/charlesmoulliard | Skype: >> cmoulliard >> > >> >> >> >> -- >> Cheers, >> Guillaume Nodet >> ------------------------ >> Blog: http://gnodet.blogspot.com/ >> ------------------------ >> Open Source SOA >> http://fusesource.com >> >
-- Cheers, Guillaume Nodet ------------------------ Blog: http://gnodet.blogspot.com/ ------------------------ Open Source SOA http://fusesource.com
