Not sure if you want to add something to the FAQ's

5 views
Skip to first unread message

eblack

unread,
Jan 14, 2009, 3:51:07 PM1/14/09
to ControlTier
Not sure if you'd like to add this to some doc somewhere in case
someone else has the same problem...

I was having a problem contacting my remote server through ssh, but
the problem ended up being trivial.

The test client (remote server) was working for quite awhile and then
all the sudden it stopped working. I kept thinking it was something to
do with the firewall since the OPs team had been messing with the
server and firewall recently. I was able to ssh to the system with a
command on the command line and could also use a test ant sshexec
command without a problem. I then added the same node to a different
project and it worked ok. Going back to the project in workbench and
looking at the node, I somehow had added a password. By editing it
back to a blank password it worked ok.

This was the exception:

# ctl-exec -v -p default -- whoami
number of nodes to dispatch to: 2, (threadcount=1)
preparing for sequential execution...
preparing for remote execution ...
dispatching to proxy on node: ctierremote
Connecting to ctierremote:22
com.jcraft.jsch.JSchException: Auth fail
at org.apache.tools.ant.taskdefs.optional.ssh.SSHExec.execute
(SSHExec.java:188)
at com.controltier.ctl.cli.CtlExec$CommandAction.doAction
(CtlExec.java:871)
at com.controltier.ctl.cli.CtlExec.run(CtlExec.java:261)
at com.controltier.ctl.cli.CtlExec.main(CtlExec.java:357)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at launcher.CtlExecLauncher.main(CtlExecLauncher.java:31)
Caused by: com.jcraft.jsch.JSchException: Auth fail
at com.jcraft.jsch.Session.connect(Session.java:454)
at com.jcraft.jsch.Session.connect(Session.java:142)
at org.apache.tools.ant.taskdefs.optional.ssh.SSHBase.openSession
(SSHBase.java:212)
at org.apache.tools.ant.taskdefs.optional.ssh.SSHExec.execute
(SSHExec.java:158)
... 8 more
--- Nested Exception ---
com.jcraft.jsch.JSchException: Auth fail
at com.jcraft.jsch.Session.connect(Session.java:454)
at com.jcraft.jsch.Session.connect(Session.java:142)
at org.apache.tools.ant.taskdefs.optional.ssh.SSHBase.openSession
(SSHBase.java:212)
at org.apache.tools.ant.taskdefs.optional.ssh.SSHExec.execute
(SSHExec.java:158)
at com.controltier.ctl.cli.CtlExec$CommandAction.doAction
(CtlExec.java:871)
at com.controltier.ctl.cli.CtlExec.run(CtlExec.java:261)
at com.controltier.ctl.cli.CtlExec.main(CtlExec.java:357)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at launcher.CtlExecLauncher.main(CtlExecLauncher.java:31)

Alex-SF

unread,
Jan 14, 2009, 8:10:34 PM1/14/09
to ControlTier
Yes this is a good pointer and I will find a home for this on the
Wiki. Username and password configuration seems to be the norm for
Windows environments but in Unix environments password typically goes
unset.

Alex-SF

unread,
Jan 14, 2009, 8:34:35 PM1/14/09
to ControlTier
Reply all
Reply to author
Forward
0 new messages