From owner-freebsd-questions Thu Aug 1 7:13:53 2002 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 6797437B400 for ; Thu, 1 Aug 2002 07:13:48 -0700 (PDT) Received: from PHSEXCHICI.MGH.HARVARD.EDU (phsexchici.mgh.harvard.edu [132.183.126.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id D808A43E3B for ; Thu, 1 Aug 2002 07:13:47 -0700 (PDT) (envelope-from REMORSE@PARTNERS.ORG) Received: by phsexchici.mgh.harvard.edu with Internet Mail Service (5.5.2650.21) id ; Thu, 1 Aug 2002 10:13:46 -0400 Message-ID: <375F68784081D511908A00508BE3BB1701EF1D61@phsexch22.mgh.harvard.edu> From: "Morse, Richard E." To: "'questions@freebsd.org'" Subject: Question about ssh setup... Date: Thu, 1 Aug 2002 10:13:45 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="ISO-8859-1" 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 Hi! I have a problem -- I have a user who wants to be able to connect to my server via a script, get a directory listing, then use scp to copy some files off. The problem is that ssh (which is the only way to connect) doesn't allow you to pass the password to it as a parameter (which is a good thing, I guess). As this script runs around midnight, this presents a problem. I've tried to set up ssh to use the RHostsRSAEncryption, with a .shosts file, but it still prompts for a password when he tries to login. The machine he is connecting from is in the ~/.ssh/known_hosts file, and I set up the .shosts file with the machine that he will be connecting from and his user name. Is there anything else that I need to set up for this to work? Thanks, Ricky ----------------------------------------------------- Richard Morse System Administrator MGH Biostatistics Center 50 Staniford St. Rm 560 remorse@partners.org 617/724-9830 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message