RE: 1.5.19: Problem with ssh

2006-05-24 Thread Harig, Mark

> -Original Message-
> From: Eric Surjawinata [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, May 24, 2006 4:33 PM
> To: Harig, Mark
> Subject: Re: 1.5.19: Problem with ssh
> 
> Actually, you are correct. When I typed exit, I am back in the
> original session. I guess the login process was so silent, that I
> didn't even realize that I finally have the correct configuration.
> 

The 'Last login: ...' message is the notice that you will see
that should let you know that you have logged on to the ssh
server, wherever that may be.  You will see that message whether
you specify '-v' to ssh or not.

---


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



RE: 1.5.19: Problem with ssh

2006-05-24 Thread Harig, Mark
 

> -Original Message-
> From: Eric Surjawinata [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, May 24, 2006 4:19 PM
> To: Harig, Mark
> Cc: cygwin@cygwin.com
> Subject: Re: 1.5.19: Problem with ssh
> 
> Hi,
> sorry for the implicitness of the message:
> 1. Yes, I redirected all output to the approp passwd and group file
> 2. The end of the verbose session throws me back to the bash prompt.
> no error message that I can detect
> 

Your log said:

> > > debug1: Authentication succeeded (password).
> > >
> > > debug1: channel 0: new [client-session]
> > > debug1: Entering interactive session.
> > >
> > > Last lo> > >gin: Wed May 24 11:02:26 2006 from lt-esurjawinata

What were you expecting different?  You logged on to your
computer, "lt-esurjawinata", via ssh.

> ... throws me back to the bash prompt.

Correct.  So long as you realize that you are now one ssh
level removed from your original login.

---

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



Re: 1.5.19: Problem with ssh

2006-05-24 Thread Eric Surjawinata

Hi,
sorry for the implicitness of the message:
1. Yes, I redirected all output to the approp passwd and group file
2. The end of the verbose session throws me back to the bash prompt.
no error message that I can detect

On 5/24/06, Harig, Mark <[EMAIL PROTECTED]> wrote:

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Eric Surjawinata
> Sent: Wednesday, May 24, 2006 3:50 PM
> To: cygwin@cygwin.com
> Subject: 1.5.19: Problem with ssh
>
> Hi,
>
> I have problems ssh-ing to a cygwin installed on Windows xp. I know
> this is an old issue, however I scoured all the past issues with this
> and have not found a solution that worked for me (short of finding an
> older cygwin release and re-installing).
>
> Basically I installed Cygwin 1.5.19 and done all of the followings:
>
> install ssh, privilege separation=no, CYGWIN= ntsec tty content of:
>

...

>
> ran mkpasswd -l
>

It's not clear from the above -- did you redirect the
output of 'mkpasswd -l' to /etc/passwd?  That is,

  $ mkpasswd -l > /etc/passwd

...

>
> ran mkpasswd -d -u esurjawinata (for the users I want to use to ssh)
>

Again, did you redirect this to /etc/passwd?

  $ mkpasswd -d -u esurjawinata >> /etc/passwd

...

>
> Output from ssh -v
>
> $ ssh -v [EMAIL PROTECTED]
>



>
> debug1: Next authentication method: password
>
> [EMAIL PROTECTED]'s password:
>
> debug1: Authentication succeeded (password).
>
> debug1: channel 0: new [client-session]
>
> debug1: Entering interactive session.
>
> Last login: Wed May 24 11:02:26 2006 from lt-esurjawinata
>
>
>
> Nothing works! Have I missed anything simple?
>
>

What failed?  From the above, it appears that you
were able to log on.

---



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



RE: 1.5.19: Problem with ssh

2006-05-24 Thread Harig, Mark
> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Eric Surjawinata
> Sent: Wednesday, May 24, 2006 3:50 PM
> To: cygwin@cygwin.com
> Subject: 1.5.19: Problem with ssh
> 
> Hi,
> 
> I have problems ssh-ing to a cygwin installed on Windows xp. I know
> this is an old issue, however I scoured all the past issues with this
> and have not found a solution that worked for me (short of finding an
> older cygwin release and re-installing).
> 
> Basically I installed Cygwin 1.5.19 and done all of the followings:
> 
> install ssh, privilege separation=no, CYGWIN= ntsec tty content of:
> 

...

> 
> ran mkpasswd -l
> 

It's not clear from the above -- did you redirect the
output of 'mkpasswd -l' to /etc/passwd?  That is,

   $ mkpasswd -l > /etc/passwd

...

> 
> ran mkpasswd -d -u esurjawinata (for the users I want to use to ssh)
> 

Again, did you redirect this to /etc/passwd?

   $ mkpasswd -d -u esurjawinata >> /etc/passwd

...

> 
> Output from ssh -v
> 
> $ ssh -v [EMAIL PROTECTED]
> 



> 
> debug1: Next authentication method: password
> 
> [EMAIL PROTECTED]'s password:
> 
> debug1: Authentication succeeded (password).
> 
> debug1: channel 0: new [client-session]
> 
> debug1: Entering interactive session.
> 
> Last login: Wed May 24 11:02:26 2006 from lt-esurjawinata
> 
> 
> 
> Nothing works! Have I missed anything simple?
> 
> 

What failed?  From the above, it appears that you
were able to log on.

---

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