SSH usage with private keys

SSH usage with private keys

Hi,

I wanted to get a connection from AM8 to my Linux platform via private keys.

My openssh is configured with protocol v2 and my public key is deployed. In AM8, I put the private key in the dedicated box available when you create a script monitor.

I checked the text file created by AM under APP/working, it contents the right key.

thanks for your feedback.

Below the error message :

4 Sep 2008 11:16:54:117 com.adventnet.cli.transport.LoginException: Login Parameter incorrect
Login & password not accepted.

4 Sep 2008 11:16:54:117 at com.adventnet.cli.transport.ssh.sshv1.SshJtaProviderImpl.open(SshJtaProviderImpl.java:395)
4 Sep 2008 11:16:54:117 at com.adventnet.cli.transport.ssh.SshTransportProviderImpl.open(SshTransportProviderImpl.java:96)
4 Sep 2008 11:16:54:117 at com.adventnet.cli.CLIResourceManager.getProviderInstance(CLIResourceManager.java:222)
4 Sep 2008 11:16:54:117 at com.adventnet.cli.CLIResourceManager.updateResourceManager(CLIResourceManager.java:152)
4 Sep 2008 11:16:54:117 at com.adventnet.cli.CLISession.open(CLISession.java:387)
4 Sep 2008 11:16:54:117 at com.adventnet.appmanager.util.CLITelnetHandler.getSession(CLITelnetHandler.java:161)
4 Sep 2008 11:16:54:117 at com.adventnet.appmanager.struts.actions.CreateScriptMonitor.doCheckforRemote(CreateScriptMonitor.java:1401)
4 Sep 2008 11:16:54:117 at com.adventnet.appmanager.struts.actions.CreateScriptMonitor.createscript(CreateScriptMonitor.java:215)
4 Sep 2008 11:16:54:117 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
4 Sep 2008 11:16:54:117 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
4 Sep 2008 11:16:54:117 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
4 Sep 2008 11:16:54:117 at java.lang.reflect.Method.invoke(Unknown Source)
4 Sep 2008 11:16:54:117 at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:280)
4 Sep 2008 11:16:54:117 at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:216)
4 Sep 2008 11:16:54:117 at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
4 Sep 2008 11:16:54:117 at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
4 Sep 2008 11:16:54:117 at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
4 Sep 2008 11:16:54:117 at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
4 Sep 2008 11:16:54:117 at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
4 Sep 2008 11:16:54:117 at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
4 Sep 2008 11:16:54:117 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
4 Sep 2008 11:16:54:117 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
4 Sep 2008 11:16:54:117 at com.adventnet.appmanager.filter.ExtProdIntegFilter.doFilter(ExtProdIntegFilter.java:50)
4 Sep 2008 11:16:54:117 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
4 Sep 2008 11:16:54:117 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
4 Sep 2008 11:16:54:117 at com.adventnet.appmanager.filter.AAMFilter.doFilter(AAMFilter.java:53)
4 Sep 2008 11:16:54:117 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
4 Sep 2008 11:16:54:117 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
4 Sep 2008 11:16:54:117 at com.adventnet.nms.webclient.i18n.EncodingFilter.doFilter(EncodingFilter.java:70)
4 Sep 2008 11:16:54:117 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
4 Sep 2008 11:16:54:117 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
4 Sep 2008 11:16:54:117 at com.adventnet.appmanager.filter.UriCollector.doFilter(UriCollector.java:306)
4 Sep 2008 11:16:54:117 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
4 Sep 2008 11:16:54:117 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
4 Sep 2008 11:16:54:117 at com.adventnet.appmanager.filter.LoadTimeCalculator.doFilter(LoadTimeCalculator.java:41)
4 Sep 2008 11:16:54:117 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
4 Sep 2008 11:16:54:117 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
4 Sep 2008 11:16:54:117 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
4 Sep 2008 11:16:54:117 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
4 Sep 2008 11:16:54:117 at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
4 Sep 2008 11:16:54:117 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
4 Sep 2008 11:16:54:117 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
4 Sep 2008 11:16:54:117 at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
4 Sep 2008 11:16:54:117 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
4 Sep 2008 11:16:54:117 at com.adventnet.appmanager.tomcatagent.ver5.valve.AdventNetHostValve.invoke(AdventNetHostValve.java:49)
4 Sep 2008 11:16:54:117 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
4 Sep 2008 11:16:54:117 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
4 Sep 2008 11:16:54:117 at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
4 Sep 2008 11:16:54:117 at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
4 Sep 2008 11:16:54:117 at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
4 Sep 2008 11:16:54:117 at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
4 Sep 2008 11:16:54:117 at java.lang.Thread.run(Unknown Source)

christophe MAZELIN



































































                New to ADSelfService Plus?