From owner-freebsd-questions Sun Oct 28 23:16:53 2001 Delivered-To: freebsd-questions@freebsd.org Received: from webs1.accretive-networks.net (webs1.accretive-networks.net [207.246.154.13]) by hub.freebsd.org (Postfix) with ESMTP id C0EA037B401 for ; Sun, 28 Oct 2001 23:16:51 -0800 (PST) Received: from localhost (davidk@localhost) by webs1.accretive-networks.net (8.11.1/8.11.3) with ESMTP id f9T7E5836229; Sun, 28 Oct 2001 23:14:06 -0800 (PST) Date: Sun, 28 Oct 2001 23:14:05 -0800 (PST) From: David Kirchner X-X-Sender: To: Leif Neland Cc: Subject: Re: rdist, ssh, "stdin: is not a tty" In-Reply-To: <006301c15ffa$ab130e20$6d05a8c0@neland.dk> Message-ID: <20011028231117.T35308-100000@localhost> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Sun, 28 Oct 2001, Leif Neland wrote: > I'm trying to replicate some webservers to a backup-disk. with rdist > over ssh. > > For some strange reason the backup-server says "stdin: is not a tty", > when I execute a command like "ssh backupserver df", but it executes > the command anyway. The backup server is a debian. It's possible there is something in your user account's .cshrc or equivalent file when it should probably be in your .login or equivalent. That is, some command is getting executed when the remote shell is starting up when it should only be executed when you actually log in to the server. > If I do the same from a redhat, where I have compiled ssh and rdist > myself, I get "LOCAL ERROR: Unexpected response: stdin: is not a tty" > and rdist terminates. > > What causes the difference in behaviour? the redhat and freebsd has > the same rdist: 6.1.15, and the freebsd-patches does not seem to have > anything to do with this. No idea, but I suspect you can fix the stdin: is not a tty message and then it won't be a problem. :-) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message