Subject: Re: sshd
To: Kadari Mayson <dark3lf@mac.com>
From: Avram Dorfman <dorfman@est.org>
List: port-mac68k
Date: 01/23/2001 12:37:37
This is a multi-part message in MIME format.

------=_NextPart_000_0065_01C08539.44377890
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Have you tried running "sshd -d" and watching the results as you try to =
connect? As I said, you'll have to comment it out of inetd.conf & =
restart inetd first. Please post your results.

As for the line in /etc/hosts, I don't recall a line w/ that syntax, but =
I don't spend much time in /etc/hosts.

-Avram
  ----- Original Message -----=20
  From: Kadari Mayson=20
  To: Avram Dorfman=20
  Cc: port-mac68k@netbsd.org=20
  Sent: Tuesday, January 23, 2001 6:44 AM
  Subject: Re: sshd


  No, what's happening is it tries for about 10 seconds then stops and =
says, "Secure connection to 192.168.1.102 refused". The reason I =
mentioned that line in /etc/hosts is because I'm behind a firewall.

  /km

  On Monday, January 22, 2001, at 08:16 PM, Avram Dorfman wrote:


    Are you sure it was failing? Is it possible that it was just taking =
a
    veeeerrrrry long time to connect? Something you often see with BSD =
systems
    is that if you try to connect from an IP address that does not have =
a valid
    reverse name record in DNS is that the connection is established, =
but then
    it sits there for as much as 90 seconds trying to figure out your =
domain
    name just so it can log it somewhere, then it finally gives up & =
lets you
    in.

    I'm not sure what line you're talking about in /etc/hosts - that =
looks more
    like a firewall line.

    -Avram
    ----- Original Message -----
    From: "Kadari Mayson" <dark3lf@mac.com>
    To: "Avram Dorfman" <dorfman@est.org>
    Cc: <port-mac68k@netbsd.org>
    Sent: Monday, January 22, 2001 8:09 PM
    Subject: Re: sshd



      Thanks Avram, I finally got it working! This time the problem with =
the
      connection being refused was because I was trying to ssh into the
      machine from another machine on my internal network behind the
      firewall. When I tried to ssh into the machine from the external =
IP, it
      worked! Why would this be? Would i have to define something in
      /etc/hosts maybe? Uncomment the line that says '192.168.0.0
      192.255.255.255' and reboot?

      thanks
      /km


------=_NextPart_000_0065_01C08539.44377890
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.3103.1000" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Have you tried running "sshd -d" and =
watching the=20
results as you try to connect? As I said, you'll have to comment it out =
of=20
inetd.conf &amp; restart inetd first. Please post your =
results.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>As for the line in /etc/hosts, I don't =
recall a=20
line w/ that syntax, but I don't spend much time in =
/etc/hosts.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>-Avram</FONT></DIV>
<BLOCKQUOTE=20
style=3D"BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: =
0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">
  <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
  <A href=3D"mailto:dark3lf@mac.com" title=3Ddark3lf@mac.com>Kadari =
Mayson</A>=20
</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A =
href=3D"mailto:dorfman@est.org"=20
  title=3Ddorfman@est.org>Avram Dorfman</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Cc:</B> <A=20
  href=3D"mailto:port-mac68k@netbsd.org"=20
  title=3Dport-mac68k@netbsd.org>port-mac68k@netbsd.org</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Tuesday, January 23, 2001 =
6:44=20
  AM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> Re: sshd</DIV>
  <DIV><BR></DIV>No, what's happening is it tries for about 10 seconds =
then=20
  stops and says, "<?color><?param 0000,0000,DEDE>Secure connection to=20
  192.168.1.102 refused". The reason I mentioned that line in /etc/hosts =
is=20
  because I'm behind a firewall.<BR><?/color><BR>/km<?color><?param =
0000,0000,DEDE><BR><?/color><BR>On=20
  Monday, January 22, 2001, at 08:16 PM, Avram Dorfman wrote:<BR><BR>
  <BLOCKQUOTE>Are you sure it was failing? Is it possible that it was =
just=20
    taking a<BR>veeeerrrrry long time to connect? Something you often =
see with=20
    BSD systems<BR>is that if you try to connect from an IP address that =
does=20
    not have a valid<BR>reverse name record in DNS is that the =
connection is=20
    established, but then<BR>it sits there for as much as 90 seconds =
trying to=20
    figure out your domain<BR>name just so it can log it somewhere, then =
it=20
    finally gives up &amp; lets you<BR>in.<BR><BR>I'm not sure what line =
you're=20
    talking about in /etc/hosts - that looks more<BR>like a firewall=20
    line.<BR><BR>-Avram<BR>----- Original Message -----<BR>From: "Kadari =
Mayson"=20
    &lt;dark3lf@mac.com&gt;<BR>To: "Avram Dorfman"=20
    &lt;dorfman@est.org&gt;<BR>Cc: =
&lt;port-mac68k@netbsd.org&gt;<BR>Sent:=20
    Monday, January 22, 2001 8:09 PM<BR>Subject: Re: sshd<BR><BR><BR>
    <BLOCKQUOTE>Thanks Avram, I finally got it working! This time the =
problem=20
      with the<BR>connection being refused was because I was trying to =
ssh into=20
      the<BR>machine from another machine on my internal network behind=20
      the<BR>firewall. When I tried to ssh into the machine from the =
external=20
      IP, it<BR>worked! Why would this be? Would i have to define =
something=20
      in<BR>/etc/hosts maybe? Uncomment the line that says=20
      '192.168.0.0<BR>192.255.255.255' and=20
    =
reboot?<BR><BR>thanks<BR>/km<BR></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></=
BODY></HTML>

------=_NextPart_000_0065_01C08539.44377890--