Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Mar 2002 16:45:25 -0800
From:      "Crist J. Clark" <cjc@FreeBSD.ORG>
To:        Fernan Aguero <fernan@iib.unsam.edu.ar>
Cc:        FreeBSD Security <freebsd-security@FreeBSD.ORG>
Subject:   Re: using ssh to run remote commands?
Message-ID:  <20020327164525.V89885@blossom.cjclark.org>
In-Reply-To: <20020327152947.B443@iib.unsam.edu.ar>; from fernan@iib.unsam.edu.ar on Wed, Mar 27, 2002 at 03:29:47PM -0300
References:  <20020327152947.B443@iib.unsam.edu.ar>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Mar 27, 2002 at 03:29:47PM -0300, Fernan Aguero wrote:
> I'd like to know how to run remote commands using ssh.
> I know I can do it as myself, but I'd like to know how can I set up my
> systems to allow non-login users (root, operator, amanda) to run
> remote commands on other hosts.
> 
> Specifically, I want to now how can i run restore on the backup server
> (the one holding the tape drive) to recover full filesystems to a
> remote host.
> Obviously this should be done as either root or some other privileged
> user.
> 
> All examples point to rsh, and I'd like to know if this can be done
> securely using ssh.

rsh(1) and ssh(1) have the same syntax. All of the rsh(1) command
lines in your examples will work. The only difference is how the
authentication works.
-- 
Crist J. Clark                     |     cjclark@alum.mit.edu
                                   |     cjclark@jhu.edu
http://people.freebsd.org/~cjc/    |     cjc@freebsd.org

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




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