Linux

Categorized | Networking

Limit OpenSSH access in Linux

By using “Match” in the OpenSSH configuration file we can limit the right a certain user, group or host enjoys. Add the Match directive in your sshd_config followed by a criteria (User, Group, Address or Host). The following example limits TCP and X11 port forwarding for the jack user:

AllowTcpForwarding no

X11Forwarding no

Match User jack

AllowTcpForwarding yes

X11Forwarding yes

Author Profile

T4L ;

Other posts by T4L

Author's web site



Are you satisfied with this blog?
Why not subscribe our RSS Feed? you will always get the latest post.


1 Comment


  1. Hey!, thanks for the good “penSSH access in Linux | Tips4Linux.com” post. Would it be possible, that i can write a story about this post in our local newspaper? I would be really happy if i can do this and i will give you a link from a german blog too. Please answer. Greetings Goldpreise

    1

Leave A Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>