login about faq

Hi,

When I try to run the following ssh command

/opt/tectia/bin/sshg3 -q -B -i /home/username/.ssh2/identification -l username -p 22 hostname /bin/ksh -c '/bin/true '

The command exits with exit code 1 and the following error is thrown in the error stream.

"Specifying identity file from command line is not supported. Configure Broker instead. Request exec channel error: Disconnected by application."

Is there a way to resolve this ?

asked Oct 23 '10 at 06:30

Prakash%201's gravatar image

Prakash 1
111

edited Sep 21 '11 at 18:35

SSH%20KB's gravatar image

SSH KB ♦
509249246237

What version of Tectia Client is this? "sshg3 -V" should print the version.

(Oct 25 '10 at 08:25) Roman ♦♦ Roman's gravatar image

Specifying the identity from the command line (aka, the -i command line option) is available for Tectia Client as of version 6.0

link

answered Oct 25 '10 at 08:29

Roman's gravatar image

Roman ♦♦
7735817

Why is the error "Request exec channel error: Disconnected by application" thrown. Also the exit code of /bin/true is shown as 1.

Any workaround I can follow to overcome this error.

(Oct 25 '10 at 09:09) Prakash 1 Prakash%201's gravatar image

That is IMHO a very bad error message that tells there was an error in requesting a channel for the remote command execution. The real error in this case was thrown because of using the "-i" command line option which is not supported in the version you are using, as correctly stated in the first part of the error message.

(Oct 26 '10 at 06:27) Roman ♦♦ Roman's gravatar image
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×54
×38
×21

Asked: Oct 23 '10 at 06:30

Seen: 4,696 times

Last updated: Sep 21 '11 at 18:35

All user contributed content licensed under the cc-by-sa license.
Powered by OSQA.