dropbear icon indicating copy to clipboard operation
dropbear copied to clipboard

scp: add option to automatically accept signature

Open teknoraver opened this issue 3 years ago • 7 comments

Add an -y option which automatically accepts the host key without checking as we did with ssh in commit cd0a08896c83ab20f7cc04e755ce38b1525d47a3

teknoraver avatar Dec 13 '22 12:12 teknoraver

@mkj sorry for the tag. Any problem with this simple patch?

Ansuel avatar Feb 07 '23 17:02 Ansuel

Yeah - would be very nice to see this merged :)

mrkiko avatar Feb 21 '23 17:02 mrkiko

I wonder if it would be better to have -o StrictHostKeyChecking=off rather than adding another extra flag?

mkj avatar Feb 22 '23 15:02 mkj

That's to be coherent with ssh, which already supports the -y flag

teknoraver avatar Feb 22 '23 16:02 teknoraver

Hi, is there any reason why this patch was not merged?

okashany avatar Jun 01 '23 14:06 okashany

I'm reluctant to let scp diverge from the flags in upstream OpenSSH - I don't really want to maintain it myself (even OpenSSH have mostly given up on it).

Generally I think the argument lists of dropbear and dbclient are getting unwieldy, so options that aren't usually typed by hand should go under -o instead. Of course dropbear itself doesn't have -o support yet, but one day it will.

mkj avatar Jun 28 '23 13:06 mkj

Related to #41 that adds -o and #269 that adds to the dbclient -o StrictHostKeyChecking

stokito avatar Dec 24 '23 01:12 stokito

scp -o stricthostkeychecking should work since #269

mkj avatar Apr 03 '24 13:04 mkj