Re: Need help with .rhosts file

From: Dave Hinz (davehinz_at_spamcop.net)
Date: 09/13/03


Date: 13 Sep 2003 18:59:18 GMT

On 13 Sep 2003 07:16:43 -0700, Achraf <achraf123@hotmail.com> wrote:
> Hi everyone,
> please help me with this!!
> I want to configure few machines so that they can run remote commands
> without having to login (commands like rcp...)

If you're going to set up your systems to do this, if you care at all
about security, please consider using ssh to do this instead. ssh,
scp, etc. are a lot more secure then the "r" commands.

So, for instance, you can copy:
scp /dir/file.ext host:/dir/

As that, you'll be prompted for your password. If you generate your
ssl key, you can have it automatically connect, and in a secure manner.

> Can someone help me with a description of what I exactly need to do to
> make this work.

Exact steps can be found in the documentation - check sunfreeware.com
and download the openssl and ssh packages.

Dave Hinz



Relevant Pages

  • Re: using ssh to run remote commands?
    ... > I'd like to know how to run remote commands using ssh. ... don't have to put a password in your script. ... backup machine and execute the commands. ...
    (FreeBSD-Security)
  • Re: OT: security of make as authorized_keys command
    ... I want to do some remote commands securely. ... somehow use make's -F switch in ssh command to change Makefiles? ... And obviously the bad guy can invoke any of the targets in my ... so he can log in without a problem in the remote machine (not just ...
    (Fedora)
  • Re: using ssh to run remote commands? [ssh -T, scp/ssh flags]
    ... > Hash: SHA1 ... 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 to run remote commands on other hosts. ... I thought there was some way to run "ssh -T user@host" to bypass your shell, ... with "unsubscribe freebsd-security" in the body of the message ...
    (FreeBSD-Security)
  • Re: using ssh to run remote commands?
    ... Running remote commands with SSH is the same as running them with rsh. ... As User A: ssh HOST App ...
    (FreeBSD-Security)