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


Kyle A. Dawson wrote:
1) I do not know of any other bash installed at all.

Can you search your disks for 'bash.exe' and see if bashs other than the one Cygwin version that you expect to find? If there is more than one, delete (or rename if you feel more comfortable with that) the others.

2) If I ssh to localhost,it works fine. "ssh localhost". I get a prompt fine.

This makes me think that webmadeeasy != localhost. How about if you try "ssh webmadeeasy" from the W2K3 machine?

3) If I leave out the --login It works but I get a different prompt
		$ ssh myhost bash -i
		bash-3.2$

That would be expected. Without "--login", you're not running a login shell and you're not running the login scripts that typically set your prompt.

If I leave out the -k, I get no prompt but I am in, I can run commands, etc.

OK. Hm, I don't know what that means, though it's a surprising result. What inspired you to try that?


-- 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/


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