scp in batch mode
Daniel Kahn Gillmor
dkg-openssh.com at fifthhorseman.net
Sat Feb 12 03:02:22 EST 2005
On February 11, mbrewster at solihull.gov.uk said:
> Have recently configured secure shell on solaris 9.
>
> I'd like to be able to transfer files to other servers in batch
> mode (without password interaction), ie with the -B option.
>
> scp tells me "unable to find an authentication method.
>
> What have I missed?
>
> Any help welcome.
Some form of authentication still needs to take place, otherwise the
copying wouldn't be secure. A reasonable way to do this is with an
SSH identity/public key. Brian Hatch's articles [1] [2] about doing
this are a good place to start reading.
hth,
--dkg
[1] http://www.securityfocus.com/infocus/1810
[2] http://www.securityfocus.com/infocus/1812
More information about the openssh-unix-dev
mailing list