Yes, there is a way...
Suppose you want to cp some files from machine B to A using SCP. Follow
the steps:
1. User X generates private/public key using ssh-keygen on Machine A.
"Don't enter password during key generation"
2. Now ~X/.ssh/identity will have user's private key on machine A.
3. Append ~X/.ssh/identity.pub to ~/.ssh/authorizedkeys on Machine
B.
This is user's public key on remote machine B.
4. Enable RSA authentication (per user based) on machine B in the
config file sshd_config.
Make "permitemptypasswords yes". Restart SSH Daemon on machine B.
5. Now try SCP from machine A using command
scp user@MachineB:/Full/Path/To/File MachineADirPath
This procedure worked in our environment. This is quite useful if you
want to copy a list of
known files using SCP without giving password.
Rgds,
Mohan Patnam.
P Lanvin wrote:
> Hello,
>
> I would like to set up (SSH2) scp without passwords on a userbasis.
> Are any documents on how to accomplish this ?
>
> Ex) The user ape is allowed to execute secure copies (without
> passwords) between machine x and y while the user gorilla is not..
>
> rgds
>
> /PL
begin:vcard
n:Patnam;Mohan K
tel;home:1-516-207-1819
tel;work:1-516-468-4864
x-mozilla-html:FALSE
url:http:\\members.tripod.com\~prmkrishna
org:Lucent Technologies (Formerly Ascend Commns.);Inter Networking Systems
version:2.1
email;internet:[EMAIL PROTECTED]
title:Software Engineer
adr;quoted-printable:;;640, Johnson Avenue,=0D=0ABohemia, NY - 11716=0D=0A;;;;
note;quoted-printable:Offline Email: [EMAIL PROTECTED] [EMAIL PROTECTED]
fn:Mohan K Patnam
end:vcard