Date: Fri, 25 Jun 2004 08:13:26 -0700 From: Hemal Pandya <hemalpandya@gmail.com> To: Rob <stopspam@users.sourceforge.net> Cc: freebsd-questions@freebsd.org Subject: Re: Configure ssh to behave like rsh. How? Message-ID: <50be591b0406250813778dcc53@mail.gmail.com> In-Reply-To: <40DBCA04.30203@users.sourceforge.net> References: <40DBCA04.30203@users.sourceforge.net>
next in thread | previous in thread | raw e-mail | index | archive | help
I was interested in this for a slightly different reason --- I would like to allow some users to ssh into my machine so they can port forward but not allow them to actually login to the machine. I found http://groups.google.com/groups?selm=200206210808.g5L88SJ15420_splat.grant.org%40ns.sol.net to work. On Fri, 25 Jun 2004 15:45:24 +0900, Rob <stopspam@users.sourceforge.net> wrote: > > > Hi, > > I have a cluster of PCs, on which the 'slaves' used to only allow rsh > connections, to execute commands, but no logins. > > I have removed the r-commands, and want to use the ssh command family > instead. Although 'ssh slaveN command' works fine, this also allows login > to the slave PC, simply by typing 'ssh slaveN'. > > How can I configure sshd, so that it will allow remote command execution, > but will refuse logins? > > Thanks, > Rob. > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50be591b0406250813778dcc53>