Hier werden die Unterschiede zwischen zwei Versionen gezeigt.
Beide Seiten, vorherige Überarbeitung Vorherige Überarbeitung | Nächste Überarbeitung Beide Seiten, nächste Überarbeitung | ||
admin_grundlagen:ssh [2020/07/27 13:57] ingo_wichmann [Hop Server] |
admin_grundlagen:ssh [2020/07/27 14:00] ingo_wichmann [mit authorized_keys command] |
||
---|---|---|---|
Zeile 84: | Zeile 84: | ||
<file txt ~/.ssh/authorized_keys> | <file txt ~/.ssh/authorized_keys> | ||
- | command="/usr/bin/who",no-agent-forwarding,no-X11-forwarding,no-port-forwarding ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHBqUtiLsRTLKquoVXKwhrPRD92CzaN9EOkVEfWoHfdC nutzer26@notebook26 | + | restrict,command="/usr/bin/who" ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHBqUtiLsRTLKquoVXKwhrPRD92CzaN9EOkVEfWoHfdC nutzer26@notebook26 |
</file> | </file> | ||
==== mit Match ==== | ==== mit Match ==== |