always accept untrusted host key in scp

Matt Johnston matt at ucc.asn.au
Thu May 21 19:45:41 WST 2009


I don't think that will work - "-y" doesn't save the key, it
just skips the question for that run.

SCP can't do it as far as I know - the nicest solution might
be to give scp a flag that will pass any argument through to
the ssh client (like -o, but for dashed-flags).

Cheers,
Matt

On Thu, May 21, 2009 at 09:50:25AM +0200, Roberto A. Foglietta wrote:
> ssh -y user at host exit; scp file user at host:/tmp
> 
> 2009/5/21 Hamish Moffatt <hamish.moffatt at calyptech.com>:
> > Hi,
> >
> > dropbear (as ssh) has a -y option to always accept the remote host key, but
> > I can't find a similar option for the scp applet. Should I just hack
> > something in for my purposes?
> >
> > thanks
> > Hamish
> > --
> > Hamish Moffatt,
> > Calyptech
> > 5/486 Lower Heidelberg Road
> > Heidelberg, Victoria 3084, Australia
> >
> > T: +61 3 9455 8611
> > F: +61 3 9459 9966
> > E: hamish.moffatt at calyptech.com
> > W: http://www.calyptech.com
> >
> >
> >
> 
> 
> 
> -- 
> /roberto
> 


More information about the Dropbear mailing list