Ok, lets see if I can get this correct

create a key on the computer that will run scp (ssh-keygen) 

then take the identity.pub file (~/.ssh) and transfer to the machine you will 
scp'ing to...

put the file in ~/.ssh/authorized_keys

now when you run scp it should not ask for a pass phrase

Julie (I think I got it right) Case

Quoting Mads Rasmussen ([EMAIL PROTECTED]):
> 
> Hi there,
> 
> Using scp in a script is not the best idea, but it's kind the best option 
> right now.
> I'm just having troubles doing a scp without specifying password.
> 
> I know it is supposed to run in batchmode, but I'm pretty lost.
> 
> Any help would be appreciated.
> 
> Regards,
> 
> Mads

-- 
[  Julia Anne Case  ] [        Ships are safe inside the harbor,       ]
[Programmer at large] [      but is that what ships are really for.    ]  
[   Admining Linux  ] [           To thine own self be true.           ]
[ Windows/WindowsNT ] [ Fair is where you take your cows to be judged. ]
          

Reply via email to