From owner-freebsd-questions Mon Jun 12 7:53:54 2000 Delivered-To: freebsd-questions@freebsd.org Received: from merlin.prod.itd.earthlink.net (merlin.prod.itd.earthlink.net [207.217.120.156]) by hub.freebsd.org (Postfix) with ESMTP id D9DBE37B528 for ; Mon, 12 Jun 2000 07:53:50 -0700 (PDT) (envelope-from cjc@earthlink.net) Received: from dialin-client.earthlink.net (pool0706.cvx20-bradley.dialup.earthlink.net [209.179.252.196]) by merlin.prod.itd.earthlink.net (8.9.3-EL_1_3/8.9.3) with ESMTP id HAA16698; Mon, 12 Jun 2000 07:53:48 -0700 (PDT) Received: (from cjc@localhost) by dialin-client.earthlink.net (8.9.3/8.9.3) id HAA00299; Mon, 12 Jun 2000 07:52:21 -0700 (PDT) Date: Mon, 12 Jun 2000 07:52:20 -0700 From: "Crist J. Clark" To: David Daugherty Cc: questions@FreeBSD.ORG Subject: Re: sshd not letting me in from dhcp Message-ID: <20000612075220.A275@dialin-client.earthlink.net> Reply-To: cjclark@alum.mit.edu References: <20000611002112.A221@dialin-client.earthlink.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from doc@wcug.wwu.edu on Sun, Jun 11, 2000 at 11:42:46PM -0700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, Jun 11, 2000 at 11:42:46PM -0700, David Daugherty wrote: > Ok, the ssh daemon isn't being started in rc.local or inetd.conf. Where > can I add this flag. I'm not sure where ssh starts from. It actually starts from /etc/rc and you could set "sshd_flags" in rc.conf, but this is not what you want to do. Log in as root and kill the existing sshd(8), if it is running, and then start it at the command line as, # sshd -d The whole idea is that when run this way it does not drop to the background, but stays at the front and shows verbose diagnostic output. It does not make a lot of sense to do that at startup since it would bring the startup process to a screeching halt. > On Sun, 11 Jun 2000, Crist J. Clark wrote: > > > On Sat, Jun 10, 2000 at 11:33:14PM -0700, David Daugherty wrote: > > > I have a laptop which gets it's IP via dhcp. When I try to ssh into a > > > server on my local network the server drops the connection. If I try from > > > a machine with a static IP it works fine. My hosts.allow has > > > ALL : ALL : allow > > > as the first line. What is forcing the ssh to drop the connection from the > > > dhcp'd laptop? The line from my messages looks like: > > > Jun 10 15:27:24 truman sshd[3989]: Connection from 192.168.1.246 denied. Authentication as user x was attempted. > > > > Have you tried running the client, > > > > % ssh -v server > > > > Or running the server as, > > > > # sshd -d > > > > To see exactly what is going on? Any customizations to your > > sshd_config file? > > > > The notebook I'm on right now has no problem ssh'ing in to various > > hosts and it's been getting dynamic IPs at each dialup. -- Crist J. Clark cjclark@alum.mit.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message