From owner-freebsd-questions Sat Feb 22 6: 3:13 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 23F6637B401 for ; Sat, 22 Feb 2003 06:03:11 -0800 (PST) Received: from post-20.mail.nl.demon.net (post-20.mail.nl.demon.net [194.159.73.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8602F43F85 for ; Sat, 22 Feb 2003 06:03:09 -0800 (PST) (envelope-from cls@raggedclown.net) Received: from [212.238.197.102] (helo=mailhost.raggedclown.net) by post-20.mail.nl.demon.net with esmtp (Exim 3.36 #1) id 18maFA-000DH6-00 for freebsd-questions@freebsd.org; Sat, 22 Feb 2003 14:03:08 +0000 Received: from localhost (localhost [127.0.0.1]) by mailhost.raggedclown.net (Ragged Clown Mail Gateway [dawn]) with ESMTP id 6BB19C7B2 for ; Sat, 22 Feb 2003 15:03:07 +0100 (CET) Received: from willow.raggedclown.net (willow.raggedclown.intra [192.168.1.10]) by mailhost.raggedclown.net (Ragged Clown Mail Gateway [dawn]) with ESMTP id 8B3B31666 for ; Sat, 22 Feb 2003 15:02:56 +0100 (CET) Received: by willow.raggedclown.net (Ragged Clown Host [willow], from userid 1009) id A7E6E225C2; Sat, 22 Feb 2003 15:02:56 +0100 (CET) Date: Sat, 22 Feb 2003 15:02:56 +0100 From: Cliff Sarginson To: freebsd-questions@freebsd.org Subject: Re: ssh(d) problems between FreebSD and Linux Systems Message-ID: <20030222140256.GA1382@raggedclown.net> References: <20030222130105.GA952@raggedclown.net> <200302221536.30361.will@unfoldings.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200302221536.30361.will@unfoldings.net> User-Agent: Mutt/1.5.3i X-Virus-Scanned: by AMaViS 0.3.12pre8 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, Feb 22, 2003 at 03:36:30PM +0200, Willie Viljoen wrote: > On Saturday 22 February 2003 15:01, Cliff Sarginson wrote: > > Hello, > > Behind my firewall I am trying to set up password-free ssh between the > > various systems. I have come across a curious problem. From a BSD > > machine I can set it up so that FreeBSD can ssh into any of the Linux > > machines is fine, but the other way around, trying to get into the > > FreeBSD machines from Linux, causes sshd on FreebSD to return > > > > Feb 22 13:46:57 willow sshd[926]: fatal: monitor_read: unsupported > > request: 24 > > > > This happens with 2 different varieties of Linux, so it is not an > > artefact of just one system. The configurations look the same at both > > ends as far as I can see. > > > > I have "achieved this by generating an rsa key, and putting the public > > one into the authorized_keys2 file as appropriate. > > > > Any suggestions ? > > Try and make sure that your Linux systems always use protocol version 2. > FreeBSD uses this protocol by default, but most Linux distributions default > to version 1 for compatibility reasons. > > Public key authentication only appeared in version 2, so machines trying to > use version 1 will not be able to use it properly. > > The quickest way to achieve this is to force remote systems to use version 2 > by adding this in /etc/ssh/sshd_config on the FreeBSD system (it should > already be there for new versions): > > Protocol 2 > > Note that a setting of 2,1 will not work as it will still server protocol 1 > if clients request it first. > Ok, will give that a whirl later. Thanks ! -- Regards Cliff Sarginson The Netherlands [ This mail has been checked as virus-free ] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message