Re: ssh interactive shell not working

2008-01-21 Thread Larry Hall (Cygwin)
Kyle A. Dawson wrote: After looking at all the config files, everything looked ok. I noticed that some files have permission weird, with group as ?. I noticed that my group file only had groups from the domain not local groups. I then append all the local groups to the /etc/group file, an

RE: ssh interactive shell not working

2008-01-20 Thread Kyle A. Dawson
After looking at all the config files, everything looked ok. I noticed that some files have permission weird, with group as ?. I noticed that my group file only had groups from the domain not local groups. I then append all the local groups to the /etc/group file, and BAM, everything works.

Re: ssh interactive shell not working

2008-01-20 Thread Christopher Faylor
On Sun, Jan 20, 2008 at 05:42:57PM -0600, Kyle A. Dawson wrote: >> If I leave out the -k, I get no prompt but I am in, I can run commands, >> etc. > > >I was meaning the -i > >I search the entire computer and only found the one bash.exe, in the >existing cygwin home > >Here are my cases: > >1)

RE: ssh interactive shell not working

2008-01-20 Thread Kyle A. Dawson
> If I leave out the -k, I get no prompt but I am in, I can run commands, > etc. I was meaning the -i I search the entire computer and only found the one bash.exe, in the existing cygwin home Here are my cases: 1) If am on the ssh server itself, all works fine, I can logon via ssh local

Re: ssh interactive shell not working

2008-01-20 Thread Larry Hall (Cygwin)
Kyle A. Dawson wrote: Also whie on the server, if I login into the server to the host name, myhost.com ( the public internet name) it works as well. I think you're going to have to enumerate the cases that cause you problems and those that don't in a clear list so it's obvious to the list what

Re: ssh interactive shell not working

2008-01-20 Thread Larry Hall (Cygwin)
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)

RE: ssh interactive shell not working

2008-01-20 Thread Kyle A. Dawson
Also whie on the server, if I login into the server to the host name, myhost.com ( the public internet name) it works as well. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.

RE: ssh interactive shell not working

2008-01-20 Thread Kyle A. Dawson
1) I do not know of any other bash installed at all. 2) If I ssh to localhost,it works fine. "ssh localhost". I get a prompt fine. 3) If I leave out the --login It works but I get a different prompt $ ssh myhost bash -i bash-3.2$ If I leave out the -k, I get no

Re: ssh interactive shell not working

2008-01-20 Thread Larry Hall (Cygwin)
Roger Wells wrote: FWIW, I seem to be having the same problem. Last week I reinstalled Windows XP, SP2 & Cygwin. Since then I can't ssh into my Windows box. I also observed the: debug2: channel 0: rcvd eof but haven't had the chance to track it down. Prior to the re-installation exerc

Re: ssh interactive shell not working

2008-01-20 Thread Larry Hall (Cygwin)
On Behalf Of Larry Hall (Cygwin) Sent: Saturday, January 19, 2008 10:42 PM To: cygwin Subject: Re: ssh interactive shell not working Kyle A. Dawson wrote: Well, I uninstall Interix and it did fix that weird issue with remote ls, but still cannot login. I re-ran the cvscheck and attached. You men

Re: ssh interactive shell not working

2008-01-20 Thread Roger Wells
TED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Korn Sent: Friday, January 18, 2008 8:45 AM To: cygwin@cygwin.com Subject: RE: RE: ssh interactive shell not working On 18 January 2008 14:07, Kyle A. Dawson wrote: Ok, here is the output from the debug $ ssh -v -v -v -v -v myhost OpenSSH_4.7p1, Op

RE: ssh interactive shell not working

2008-01-19 Thread Kyle A. Dawson
Sorry, I need to read the instructions better. Here is the correct log with -x -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Larry Hall (Cygwin) Sent: Saturday, January 19, 2008 10:42 PM To: cygwin@cygwin.com Subject: Re: ssh interactive shell not

Re: ssh interactive shell not working

2008-01-19 Thread Larry Hall (Cygwin)
Kyle A. Dawson wrote: Well, I uninstall Interix and it did fix that weird issue with remote ls, but still cannot login. I re-ran the cvscheck and attached. You mentioned you wanted the bash debug output, I thought I sent that as well? With this command: ssh -v -v -v -v -v webmadeeasy.net bash

RE: ssh interactive shell not working

2008-01-19 Thread Kyle A. Dawson
Well, I uninstall Interix and it did fix that weird issue with remote ls, but still cannot login. I re-ran the cvscheck and attached. You mentioned you wanted the bash debug output, I thought I sent that as well? With this command: ssh -v -v -v -v -v webmadeeasy.net bash --login -i That is w

RE: ssh interactive shell not working

2008-01-19 Thread Kyle A. Dawson
, January 19, 2008 9:37 PM To: cygwin@cygwin.com Subject: Re: ssh interactive shell not working Kyle A. Dawson wrote: > I have attached the cvscheck output and the debug connection output. Thanks but I actually wanted to see the bash debug output. Perhaps it's not necessary now. Your

Re: ssh interactive shell not working

2008-01-19 Thread Larry Hall (Cygwin)
Kyle A. Dawson wrote: I have attached the cvscheck output and the debug connection output. Thanks but I actually wanted to see the bash debug output. Perhaps it's not necessary now. Your cygcheck output shows you have Interix installed. Your attempt to "ls" '/usr/bin' via "ssh" suggests tha

RE: ssh interactive shell not working

2008-01-19 Thread Kyle A. Dawson
I have attached the cvscheck output and the debug connection output. cygcheck.out Description: Binary data $ ssh -v -v -v -v -v myhost bash --login -i OpenSSH_4.7p1, OpenSSL 0.9.8g 19 Oct 2007 debug2: ssh_connect: needpriv 0 debug1: Connecting to myhost [68.165.65.114] port 22. debug1: Connect

Re: ssh interactive shell not working

2008-01-19 Thread Larry Hall (Cygwin)
Thanks. We frown on feeding spammers here. ;-) Kyle A. Dawson wrote: 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 ho

RE: ssh interactive shell not working

2008-01-19 Thread Kyle A. Dawson
PROTECTED] [mailto:[EMAIL PROTECTED] 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

RE: ssh interactive shell not working

2008-01-19 Thread Kyle A. Dawson
"mkgroup -l -d > /etc/group" echo echo "This message is only displayed once (unless you recreate /etc/group)" echo "and can be safely ignored." # only display the above once cp -f /etc/group "${HOME}/group.mkgroup_l_d" \ && ( [ -w /et

Re: ssh interactive shell not working

2008-01-19 Thread Larry Hall (Cygwin)
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 /

RE: RE: ssh interactive shell not working

2008-01-18 Thread Kyle A. Dawson
] On Behalf Of Dave Korn Sent: Friday, January 18, 2008 8:45 AM To: cygwin@cygwin.com Subject: RE: RE: ssh interactive shell not working On 18 January 2008 14:07, Kyle A. Dawson wrote: > Ok, here is the output from the debug > > $ ssh -v -v -v -v -v myhost > > OpenSSH_4.7p1, OpenSS

Re: ssh interactive shell not working

2008-01-18 Thread Mark Geisert
Kyle A. Dawson writes: > That command does not work > $ ssh -v -v -v -v -v myhost --login -i -x Try it with "bash" after "myhost" like Dave suggested... ..mark -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentati

RE: RE: ssh interactive shell not working

2008-01-18 Thread Kyle A. Dawson
PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Korn Sent: Friday, January 18, 2008 8:45 AM To: cygwin@cygwin.com Subject: RE: RE: ssh interactive shell not working On 18 January 2008 14:07, Kyle A. Dawson wrote: > Ok, here is the output from the debug > > $ ssh -v -v -v -v

RE: RE: ssh interactive shell not working

2008-01-18 Thread Dave Korn
On 18 January 2008 14:07, Kyle A. Dawson wrote: > Ok, here is the output from the debug > > $ ssh -v -v -v -v -v myhost > > OpenSSH_4.7p1, OpenSSL 0.9.8g 19 Oct 2007 > debug2: ssh_connect: needpriv 0 Doh. Sorry, my fault - that doesn't really show us enough, although it does show... > debug

RE: RE: ssh interactive shell not working

2008-01-18 Thread Kyle A. Dawson
Ok, here is the output from the debug $ ssh -v -v -v -v -v myhost OpenSSH_4.7p1, OpenSSL 0.9.8g 19 Oct 2007 debug2: ssh_connect: needpriv 0 debug1: Connecting to myhost [1.2.3.4] port 22. debug1: Connection established. debug1: identity file /home/my.id/.ssh/identity type -1 debug1: identity file

RE: ssh interactive shell not working

2008-01-18 Thread Dave Korn
On 18 January 2008 13:03, Kyle A. Dawson wrote: > I had cygwin and ssh working on windows 2003 and then it all stopped.   I > get it working again by re-installing cygwin and ssh.  The only issue is > that you cannot login to ssh with interactive shell.  You can run commands > via ssh but not get

RE: ssh interactive shell not working

2008-01-18 Thread Kyle A. Dawson
I had cygwin and ssh working on windows 2003 and then it all stopped.   I get it working again by re-installing cygwin and ssh.  The only issue is that you cannot login to ssh with interactive shell.  You can run commands via ssh but not get a prompt.  For example this will work: ssh myhost ps -ef