Re: scp vs rcp - password question

From: Ali-Reza Anghaie (ali_at_packetknife.com)
Date: 07/31/03


Date: Wed, 30 Jul 2003 22:31:44 -0400

John Smith wrote:
> Suppose I have a bunch of scripts using rcp. What do I need to do besides
> the single character change from "rcp" to "scp"? I tried copying server's
> .rhosts to .shosts but that makes no difference.

SSH can use user keys, host keys, or .shosts type password-less
authentication. I'd recommend using user keys for small groups and host
based keys for larger groups. Never use regular hosts style ala rsh/cp/..
style.

Do a "man ssh" and search for "host keys"... or Google away.

Key management can be done via NIS maps or rdist/sync them around. I mean,
lots of discussion could go on here.

Cheers, -Ali

-- 
OpenPGP Key: 030E44E6
--
Was I helpful?:  http://svcs.affero.net/rm.php?r=packetknife
--
War is evil, but it is often the lesser evil. -- George Orwell


Relevant Pages

  • Re: Central key-management for openssh
    ... I don't know if it matters what host you are on when you run ... What I would do in your case is to run ssh-keygen in your post install ... which will install the keys whereever you'd like, or you can install an rc ... quantity of servers is to build the servers without the keys, ...
    (comp.security.ssh)
  • Re: OpenSSH: which public keys are required/recommended?
    ... > DM> has DSA key but no RSA key in authorized_keys2, ... > An authorized_keys file contains not host keys, ... I just generated RSA host keys for affected hosts. ...
    (comp.security.ssh)
  • Re: Handling SSH yes/no message
    ... > RP> days) and each time the box is rebuilt, new SSH keys are generated ... Soon after the rebuild, the box wont let me ssh ... > RP> the entry for the remote host. ... > host keys... ...
    (comp.security.ssh)
  • Re: How can I configure to run as root all the time ?
    ... Thanks for responding to my query related to SSH. ... NCP1 is a host with some defined IP address like 10.1.1.201. ... I want to run ssh/scp as root because the keys will be generated by ...
    (comp.security.ssh)
  • Re: Client connect without host service running?
    ... Incoming clients cannot connect via ssh unless openssh is running. ... openssh caches the keys in memory... ... I went to the ssh client and compared the host ...
    (comp.security.ssh)