From owner-freebsd-isp@FreeBSD.ORG Sat Feb 7 04:50:21 2004 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 48EFA16A4EE for ; Sat, 7 Feb 2004 04:50:21 -0800 (PST) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id BA13743D1D for ; Sat, 7 Feb 2004 04:50:20 -0800 (PST) (envelope-from andreas@klemm.apsfilter.org) Received: from srv1.cosmo-project.de (localhost [IPv6:::1]) i17CoHN1047527 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Sat, 7 Feb 2004 13:50:19 +0100 (CET) (envelope-from andreas@klemm.apsfilter.org) Received: (from uucp@localhost)i17CoGJV047525 for freebsd-isp@freebsd.org; Sat, 7 Feb 2004 13:50:16 +0100 (CET) (envelope-from andreas@klemm.apsfilter.org) Received: from titan.klemm.apsfilter.org (localhost.klemm.apsfilter.org [127.0.0.1]) by klemm.apsfilter.org (8.12.10/8.12.10) with ESMTP id i17Cj8l6036973 for ; Sat, 7 Feb 2004 13:45:09 +0100 (CET) (envelope-from andreas@titan.klemm.apsfilter.org) Received: (from andreas@localhost)i17Cj8t9036956 for freebsd-isp@freebsd.org; Sat, 7 Feb 2004 13:45:08 +0100 (CET) (envelope-from andreas) Date: Sat, 7 Feb 2004 13:45:08 +0100 From: Andreas Klemm To: freebsd-isp@freebsd.org Message-ID: <20040207124507.GA20305@titan.klemm.apsfilter.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: FreeBSD 5.2.1-RC X-Disclaimer: A free society is one where it is safe to be unpopular User-Agent: Mutt/1.5.5.1i Subject: fbsd mgmt server, telnet through ssh tunnel to Cisco possible ? X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Feb 2004 12:50:21 -0000 Hi, I have a FreeBSD 5.2.1 monitoring system up and running. It uses shellscripts with netcat to login to the ciscos get some data out of it, writes results to files etc ... For these mechanism to work I need to be able to telnet to the ciscos. Unluckily I have now a bunch of Ciscos, where only ssh login is possible and where no rsh server functionality is allowed. Is it somehow possible to telnet to the ciscos via a ssh tunnel ? And without the Cisco prompting for a password ? Is there something other available than netcat to make batched data collection scripts to ciscos possible on a ssh basis ??? Any recommendations that could work ? Currently I use something like this for cisco in $* do nc [options] $cisco > /some/path/sh-run/$cisco-confg < http://www.apsfilter.org/