From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 59167 invoked by alias); 22 Jan 2020 17:20:08 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 59134 invoked by uid 89); 22 Jan 2020 17:20:07 -0000 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 Received: from mail-il1-f176.google.com (HELO mail-il1-f176.google.com) (209.85.166.176) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 22 Jan 2020 17:20:05 +0000 Received: by mail-il1-f176.google.com with SMTP id f5so13826ilq.5 for ; Wed, 22 Jan 2020 09:20:05 -0800 (PST) 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 Date: Wed, 22 Jan 2020 17:20:00 -0000 Message-ID: Subject: Running ssh tectia client in cygwin To: cygwin@cygwin.com Content-Type: text/plain; charset="UTF-8" X-SW-Source: 2020-01/txt/msg00198.txt.bz2 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