Brewster, Michael (Strategic Services, Customer Services - Solihull MBC)
2005-Feb-11 15:35 UTC
scp in batch mode
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. ********************************************************************** DISCLAIMER: 'This e-mail and files transmitted with it are confidential and intended solely for the use of the individual to whom it is addressed. If you are not the intended recipient please notify the sender immediately and delete the message. Any views or opinions presented are solely those of the author and do not necessarily represent those of Solihull Council unless explicitly stated otherwise. Solihull Council may monitor the contents of e-mail sent and received via its network for the purposes of ensuring compliance with its policies and procedures.' **********************************************************************
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