X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:mime-version:from:date:message-id:subject:to
	:content-type; q=dns; s=default; b=f5y5w6p4p/NCNusJgVwRTvLXBWZF8
	KeyT7XPOMzeuLO8vOiGdzC7SVvLWXxheJaG302bVA+HCAuzrRjnRl6PuVWmXAXEU
	Qd8tnBNCnGChjYlWMlGSppgwN6mdjGTbimQNXndidkLEaG7BZgEsxxN7KFVvIfxj
	2ZcXOGJRObdqxw=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:mime-version:from:date:message-id:subject:to
	:content-type; s=default; bh=shvR1HlrdjeUqAP0vitTq23lE4g=; b=h62
	1lGKtUfBPOWqqiWdKc1TTR1qTnqKC3iKO91z6EujGTD/paCjNOjC7OA6eD2LwdxD
	30cLBd2QQyXmPu2xGxsKHEq/Uxjuhv9N7Z0+i9Hc/OjWIXRw13Nhoob/NVbcKTcO
	xowsJ6k3UWrcHUnHqdBV3679vdoaE2mZkCg3EAZU=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=0.5 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.1 spammy=
X-HELO: mail-il1-f176.google.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=gmail.com; s=20161025;        h=mime-version:from:date:message-id:subject:to;        bh=WCJprbpocGenU92FIsA1OXkTFZgAS3nk97MTp4qreLk=;        b=f6dorcfK75KIjUaFGXG1kbVck/M9oANQI9Wgb0Fq63cQzjd/va2oAQXRWS7W+iD6aZ         NX5qLA3ZL03qgnB3uA4Z41/L+33SNOyPp3yyKcjdXU96j/ZaNTI0ebqzT4TArpjio6hA         lFC5SLZYpHyr+3ozWxMPx4jhtwEFrL+SFFrIdktlIVKF9CQ2P46gDUQVBA42bRlpVuC2         S2h6C2Hj5hkRg9+X1QGoTr1Vh1z5/JcoILurAXQmahjrqjqBiqTet0LdCNOfN4yGFEhh         AXucVjtuqbMJq7eoOZbKMwmUUT4uG4Z6eKMnzAaU8a2aRcMuyTi99WBP7wRxcQ4lGvQU         oBYA==
MIME-Version: 1.0
From: ravi r <ravi480000@gmail.com>
Date: Wed, 22 Jan 2020 12:19:53 -0500
Message-ID: <CAHvsuxkbGmGx4b+4mTATpvTM7X_f+dEac9c_Em5MSHLUcyu2Ng@mail.gmail.com>
Subject: Running ssh tectia client in cygwin
To: cygwin@cygwin.com
Content-Type: text/plain; charset="UTF-8"

I am using cygwin in windows 7. When I connect to a remote ssh tectia
server(version 6.4) through ssh tectia client
sshg3.exe(version 6.3.10), from a cygwin terminal, I can successfully
login and for some reason I cannot see my usual dollar
shell prompt. The remote ssh session spawns a ksh. I have tried
renaming my existing .profile(thinking the problem lies some
where inside) and also tried manually running bash on remote session.
Under no circumstance, does a shell prompt appear. I
can however, successfully execute all commands on the remote session.
The command is echoed back to my local session along with the output.

Running the same sshg3.exe client from a windows 'cmd.exe' shell on
the same desktop, connecting to the same tectia server,
there is no issue in seeing the shell prompt, even from my customized
$HOME/.profile.

After adding -t flag to sshg3, the client 'allocates a tty even if
command is given', I get my shell prompts back.
However, every command I enter in the remote session is echoed twice,
which is annoying. Also, remote session is setting
TERM to vt100 and vi editor commands don't work.

In case anyone is wondering, why would I use sshg3.exe in the first
place, the remote tectia ssh server is kicking out
cygwin's native open ssh client during authentication.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

