From owner-freebsd-questions Tue Mar 13 15:45:52 2001 Delivered-To: freebsd-questions@freebsd.org Received: from ns1.coastsight.com (ns1.coastsight.com [208.46.230.17]) by hub.freebsd.org (Postfix) with ESMTP id 56F4037B71C for ; Tue, 13 Mar 2001 15:45:45 -0800 (PST) (envelope-from maillist@coastsight.com) Received: from ns1.coastsight.com ([208.46.230.17]) by ns1.coastsight.com with esmtp (Exim 2.05 #1) id 14d5yT-000Buz-00 for freebsd-questions@freebsd.org; Tue, 13 Mar 2001 23:45:37 -0800 Date: Tue, 13 Mar 2001 23:45:37 -0800 (PST) From: Rick Duvall To: freebsd-questions@freebsd.org Subject: ssh2 for use in CGI script Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I am trying to syncronize my servers with rsync and ssh2. I wrote a shell script that would work as a CGI so sync the servers via a web page (runs under same username as web server, since the web files are all owned by webadmin anyway). It works from the command line, but when i run it as a CGI, I get this error in the logfile. Is there any way around this so that I can have an admin page set up to do certain things, rather than telneting in every time I need to sync it? thanks.... You have no controlling terminal.Can't initialize readline for confirmations. Couldn't exec 'ssh-signer2' (System error message: No such file or directory)FATAL: Executing ssh-signer failed. You have no controlling tty and no DISPLAY. Cannot read passphrase. warning: Authentication failed. Disconnected; authentication cancelled by user (Authentication cancelled by user.). unexpected EOF in read_timeout To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message