wok-6.x rev 20263

tinyssh: fix keys path (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 15 14:45:35 2018 +0100 (2018-03-15)
parents f4bdb6f2ca87
children d010061fa2dc
files tinyssh/receipt
line diff
     1.1 --- a/tinyssh/receipt	Thu Mar 15 13:45:13 2018 +0100
     1.2 +++ b/tinyssh/receipt	Thu Mar 15 14:45:35 2018 +0100
     1.3 @@ -28,7 +28,7 @@
     1.4  
     1.5  post_install()
     1.6  {
     1.7 -	# openssh: sh-keygen -t ed25519 or ssh-keygen -t ecdsa -b 256 => ~/.ssh/authorized_keys
     1.8 +	[ -d $1/etc/tinyssh/sshkeydir ] ||
     1.9  	chroot $1/ tinysshd-makekey /etc/tinyssh/sshkeydir
    1.10  	grep -q ^ssh $1/etc/inetd.conf || cat >> $1/etc/inetd.conf <<EOT
    1.11  ssh stream tcp nowait root /usr/sbin/tinysshd tinysshd -l -v /etc/tinyssh/sshkeydir