delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/01/19/20:08:13

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
To: <cygwin AT cygwin DOT com>
References: <A70479AEC9AB3A4CBDDAE972AA9BD774056D0B AT dellsc1420a DOT wme DOT local> <4790b28b DOT 1235640a DOT 1f2e DOT 7b29 AT mx DOT google DOT com> <001e01c859e0$a63dbf30$2e08a8c0 AT CAM DOT ARTIMI DOT COM> <47917438 DOT 0675480a DOT 4944 DOT ffff86bf AT mx DOT google DOT com> <4792795B DOT 4010907 AT cygwin DOT com>
In-Reply-To: <4792795B.4010907@cygwin.com>
Subject: RE: ssh interactive shell not working
Date: Sat, 19 Jan 2008 19:07:09 -0600
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 12.0
From: "Kyle A. Dawson" <kyle DOT a DOT dawson AT gmail DOT com>
Message-ID: <47929ec9.08a4480a.5cc0.ffff8ac6@mx.google.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id m0K182IM001258

Also, as a test I run a simple remote command to get ls of dir and it failed
$ ssh backup.webmadeeasy.net ls -lart /usr/bin
ls: /dev/fs/D/usr/bin: No such file or directory


But home directory works
$ ssh backup.webmadeeasy.net ls -lart
total 49637
-rwx------+ 1 myid    	Domain Users 	0 Jul 26  2004 Sti_Trace.log
-rwx------+ 1 myid 	Domain Users      181 Sep 16  2004 desktop.ini
-rwx------+ 1 myid 	Domain Users 	440385 Sep 16  2005 support2.zip
-rwx------+ 1 myid 	Domain Users 	4377 Oct 16  2005 NetDiag.log

Can this be related?


-----Original Message-----
From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com] On Behalf Of Larry Hall (Cygwin)
Sent: Saturday, January 19, 2008 4:28 PM
To: cygwin AT cygwin DOT com
Subject: Re: ssh interactive shell not working

Kyle A. Dawson wrote:
> I forgot to add the bash part.  
> So if I give it the option to run bash it works, I get a prompt.  
> 
> ssh myhost bash --login -i
> 
> So why do I have to now give it the option to run bash?  It should do that
> automatically?

To me, this suggests that you have a bashism in your /etc/profile or
~/.profile and that your login shell is not bash.  Check your user's
entry for /etc/passwd and change it to bash if you want bash.

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

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


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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019