Configure ssh to behave like rsh. How?

Hemal Pandya hemalpandya at gmail.com
Fri Jun 25 08:13:27 PDT 2004


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


More information about the freebsd-questions mailing list