l green.r: add ssh workaround for android yubikey
This commit is contained in:
parent
4eab43449a
commit
f31f9f3790
@ -87,4 +87,10 @@ with import <stockholm/lib>;
|
|||||||
krebs.iptables.tables.nat.PREROUTING.rules = [
|
krebs.iptables.tables.nat.PREROUTING.rules = [
|
||||||
{ predicate = "-i eth0 -p tcp -m tcp --dport 22"; target = "ACCEPT"; precedence = 101; }
|
{ predicate = "-i eth0 -p tcp -m tcp --dport 22"; target = "ACCEPT"; precedence = 101; }
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# workaround for ssh access from yubikey via android
|
||||||
|
services.openssh.extraConfig = ''
|
||||||
|
HostKeyAlgorithms +ssh-rsa
|
||||||
|
PubkeyAcceptedAlgorithms +ssh-rsa
|
||||||
|
'';
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user