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 <[EMAIL PROTECTED]> 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. > > _______________________________________________ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"