From owner-freebsd-newbies@FreeBSD.ORG Sun Feb 27 23:59:56 2005 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3328D16A4CE for ; Sun, 27 Feb 2005 23:59:56 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id BCAF743D55 for ; Sun, 27 Feb 2005 23:59:55 +0000 (GMT) (envelope-from subhashg@gmail.com) Received: by rproxy.gmail.com with SMTP id a41so784263rng for ; Sun, 27 Feb 2005 15:59:55 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=bqrT+6nIaiO+beZH8cbkaWAuNHxLde4DbqYMZbsCInonywDgXWivfd6V+LpkkTy8hTKb8qj0/QZTv/tbBALX4R34lj99+0PzKVkGNa9KsC8zOSh7rZpJl0fT6FSEvCpeaWM6qDMUv6p9nooTfqJujyLnHkJreoSosXVUgsGgm6s= Received: by 10.38.71.57 with SMTP id t57mr84108rna; Sun, 27 Feb 2005 15:59:54 -0800 (PST) Received: by 10.38.76.51 with HTTP; Sun, 27 Feb 2005 15:59:54 -0800 (PST) Message-ID: <81703d8a0502271559732a9772@mail.gmail.com> Date: Sun, 27 Feb 2005 15:59:54 -0800 From: Subhash Gopinath To: Hexren In-Reply-To: <19746748711.20050228005023@hexren.net> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <81703d8a0502262036cafd125@mail.gmail.com> <20050227100305.7543d6d4@it.buh.tecnik93.com> <81703d8a050227101735a48cc0@mail.gmail.com> <42223AB6.6020904@daleco.biz> <81703d8a0502271527288416f7@mail.gmail.com> <19746748711.20050228005023@hexren.net> cc: freebsd-newbies@freebsd.org Subject: Re: Re[2]: can't ssh to remote FreeBSD machine X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Subhash Gopinath List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Feb 2005 23:59:56 -0000 Hi, When I executed ipfw on the FreeBSD machine ... I get this result - >ipfw show ipfw: getsockopt(IP_FW_GET) : Protocol not available Is there any other firewall that I need to look at ? tx, Subhash On Mon, 28 Feb 2005 00:50:23 +0100, Hexren wrote: > SG> Hi, > > SG> Results are the same when I try with a non-super-user account (say guest).. > SG> Btw, I have set PermitRootLogin=yes in /etc/ssh/sshd_config > > SG> tx, > SG> Subhash > > SG> On Sun, 27 Feb 2005 15:25:10 -0600, Kevin Kinsey wrote: > >> Subhash Gopinath wrote: > >> > >> >Hi, > >> > > >> >Here's the debug o/p of ssh ('have replaced the IP address with a dummy one...) > >> > > >> >-bash-2.05b$ ssh -vv root@A.B.C.D > >> > > >> > > >> > >> Read on.... > >> > >> >OpenSSH_3.7.1p2, SSH protocols 1.5/2.0, OpenSSL 0.9.7d 17 Mar 2004 > >> >debug1: Reading configuration data /etc/ssh/ssh_config > >> >debug1: Applying options for * > >> >debug2: ssh_connect: needpriv 0 > >> >debug1: Connecting to A.B.C.D [A.B.C.D] port 22. > >> > > >> >And it stops at this point...But the machine is Up (since I can ping > >> >it) and sshd is running on port 22 > >> > > >> >Thanks, > >> >Subhash > >> > > >> >On Sun, 27 Feb 2005 10:03:05 +0200, Ion-Mihai Tetcu > >> > wrote: > >> > > >> > > >> >>Do a ssh -vvv user@machine and see the output. Note that user root can't > >> >>connect by ssh by default for security reasons. > >> >> > >> >> > >> > >> As Ion-Mihail said in the sentence about this one, you can't ssh > >> root@anybox > >> (by default, it is *not* allowed). > >> > >> Kevin Kinsey > >> > > --------------------------------------------- > > You have made sure that there is no firewall blocking ssh from the > outside ? > > Hexren > >