mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
Fix ssh pacakge - enable root password login, ssh-dss public key
This commit is contained in:
parent
9b9e84eda4
commit
6390ccb28a
@ -63,6 +63,9 @@ post_makeinstall_target() {
|
|||||||
rm -rf $INSTALL/usr/bin/ssh-add
|
rm -rf $INSTALL/usr/bin/ssh-add
|
||||||
rm -rf $INSTALL/usr/bin/ssh-agent
|
rm -rf $INSTALL/usr/bin/ssh-agent
|
||||||
rm -rf $INSTALL/usr/bin/ssh-keyscan
|
rm -rf $INSTALL/usr/bin/ssh-keyscan
|
||||||
|
|
||||||
|
sed -i $INSTALL/etc/ssh/sshd_config -e "s|^#PermitRootLogin.*|PermitRootLogin yes|g"
|
||||||
|
echo "PubkeyAcceptedKeyTypes +ssh-dss" >> $INSTALL/etc/ssh/sshd_config
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user