This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: ssh interactive shell not working


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@cygwin.com [mailto:cygwin-owner@cygwin.com] On Behalf Of Larry Hall (Cygwin)
Sent: Saturday, January 19, 2008 4:28 PM
To: cygwin@cygwin.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]