The following patch enables generation of ecdsa keys in OpenSSH at init.

Signed-off-by: Oliver Smith <oli...@8.c.9.b.0.7.4.0.1.0.0.2.ip6.arpa>
Index: feeds/packages/net/openssh/files/sshd.init
===================================================================
--- feeds/packages/net/openssh/files/sshd.init	(revision 31653)
+++ feeds/packages/net/openssh/files/sshd.init	(working copy)
@@ -7,7 +7,7 @@
 SERVICE_USE_PID=1
 
 start() {
-	for type in rsa dsa; do {
+	for type in rsa dsa ecdsa; do {
 		# check for keys
 		key=/etc/ssh/ssh_host_${type}_key
 		[ ! -f $key ] && {

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to