I've hacked run-cliopts.c to pretend -y is always passed.. this works
for me though it does not ever save the keys.
Having an scp flag to pass through switches would be good. Alternatively
a long option for "ssh" that could be passed through the existing
mechanism in scp.
thanks
Hamish
Matt Johnston wrote:
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 u...@host exit; scp file u...@host:/tmp
2009/5/21 Hamish Moffatt <[email protected]>:
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: [email protected]
W: http://www.calyptech.com
--
/roberto
--
Hamish Moffatt,
Calyptech
5/486 Lower Heidelberg Road
Heidelberg, Victoria 3084, Australia
T: +61 3 9455 8611
F: +61 3 9459 9966
E: [email protected]
W: http://www.calyptech.com