public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Zdzislaw Meglicki <zdzisiekm@sbcglobal.net>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: Re:  Sshd behaving strangely...
Date: Mon, 07 Sep 2015 12:46:00 -0000	[thread overview]
Message-ID: <314795175.1838495.1441629910506.JavaMail.yahoo@mail.yahoo.com> (raw)

>> Please teach your mail agent to not break threading.

Sorry for this. Yes, this particular mailer is really bad,
I'll have to re-register with the Cygwin mail list from 
a better one.

>> This is a different issue, judging from the error message. 
>> [...]
>> A verbose log of the same connection from both server 
>> and client may help. 

I've attempted a connection from another account on the machine
from which I could not do so previously, with ssh -v and...
it worked! I made a successful connection. So, then I went
back to the account from which I could not connect, ran ssh -v
and I got the following:

[...]
debug1: Offering RSA public key: /home/[user_name]/.ssh/id_rsa
Connection closed by [ip_number]

Aha! So it's my old RSA key that's the culprit here. I removed
it and this time the connection worked just fine! 

In summary, it appears that it all works as it ought to right
out of the box. I configured sshd on the target machine with
the "-y" option, which, I presume, builds a default server
configuration.

My only suggestion would be that, if the connection is refused
the reason for refusal should perhaps be printed back to the
user, even without the -v option.

Many thanks for your help. 

Zdzislaw (Gustav) Meglicki
Indiana University


-- 

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

             reply	other threads:[~2015-09-07 12:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-07 12:46 Zdzislaw Meglicki [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-09-06 15:46 Zdzislaw Meglicki
2015-09-06 21:50 ` Andrey Repin
2015-09-05 21:03 Zdzislaw Meglicki
2015-09-06 12:00 ` Corinna Vinschen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=314795175.1838495.1441629910506.JavaMail.yahoo@mail.yahoo.com \
    --to=zdzisiekm@sbcglobal.net \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).