Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Aug 2002 16:29:06 +0200
From:      "Christian Schmied" <christian@schmied.cc>
To:        "'Morse, Richard E.'" <REMORSE@PARTNERS.ORG>
Cc:        <freebsd-questions@freebsd.org>
Subject:   RE: Question about ssh setup...
Message-ID:  <5E34D857F6BB704CA3369B7553233A8103713749@ntsviemxs0152.connect.at-work.ent>
In-Reply-To: <375F68784081D511908A00508BE3BB1701EF1D61@phsexch22.mgh.harvard.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
hi,

rhosts is not a good idea because of a security risk.

try private/public key authentication, this works fine for scripts....
but be carefull openssh and ssh2 have different keys! if the server has
a different
version, then you have to convert the keys with ssh-keygen.

Chris.

-----Original Message-----
From: owner-freebsd-questions@FreeBSD.ORG
[mailto:owner-freebsd-questions@FreeBSD.ORG] On Behalf Of Morse, Richard
E.
Sent: Donnerstag, 01. August 2002 16:14
To: 'questions@freebsd.org'
Subject: Question about ssh setup...


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


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5E34D857F6BB704CA3369B7553233A8103713749>