From owner-freebsd-current@FreeBSD.ORG Fri Mar 27 01:34:09 2009 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 55ECA106564A for ; Fri, 27 Mar 2009 01:34:09 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outE.internet-mail-service.net (oute.internet-mail-service.net [216.240.47.228]) by mx1.freebsd.org (Postfix) with ESMTP id 381058FC13 for ; Fri, 27 Mar 2009 01:34:08 +0000 (UTC) (envelope-from julian@elischer.org) Received: from idiom.com (mx0.idiom.com [216.240.32.160]) by out.internet-mail-service.net (Postfix) with ESMTP id 46590B9911; Thu, 26 Mar 2009 18:34:10 -0700 (PDT) X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e Received: from julian-mac.elischer.org (home.elischer.org [216.240.48.38]) by idiom.com (Postfix) with ESMTP id 2517D2D6021; Thu, 26 Mar 2009 18:34:06 -0700 (PDT) Message-ID: <49CC2D23.5080000@elischer.org> Date: Thu, 26 Mar 2009 18:34:27 -0700 From: Julian Elischer User-Agent: Thunderbird 2.0.0.21 (Macintosh/20090302) MIME-Version: 1.0 To: Maxim Sobolev References: <995845.90009.qm@web63905.mail.re1.yahoo.com> <49CA6754.4030302@elischer.org> <49CC2B14.10408@FreeBSD.org> In-Reply-To: <49CC2B14.10408@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: barney_cordoba@yahoo.com, Ruben de Groot , Ian FREISLICH , Chuck Robey , current@FreeBSD.org Subject: Re: Telnet root login X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Mar 2009 01:34:09 -0000 Maxim Sobolev wrote: > Julian Elischer wrote: >>> Then use ssh and set "PermitRootLogin yes" in /etc/ssh/sshd_config >> >> this doesn't work if you are usinf a set of machines run from a >> central machine using nc (netcat) to do scripted i/o through a telnet >> session on the other machines (for example). >> >> The advantage of telnet is you can pipe nc straight into it. > > Dude, ssh with password-less master key on client and correct > certificate on server in ~/authorized_keys2 is your friend. You can pipe > right to ssh in scripts just fine and it's all nice and secure. You can > also do other interesting things with port forwarding over ssl link. I expressed myself poorly I want to pipe straight tcp into sessions for remote control I often use the method you describe above, but sometimes it's just too cumbersom. > > -Maxim