Difference between revisions of "User:Sfiggins/RH-TACACS with LDAP Backend"

From Labrats.us
Jump to navigationJump to search
(Created page with "==Create base Centos 7 server, as documented below== New CentOS 7 Server Setup Commands")
 
Line 1: Line 1:
 +
=Install and Setup New CentOS 7 Server=
 +
 
==Create base Centos 7 server, as documented below==
 
==Create base Centos 7 server, as documented below==
  
 
[[New CentOS 7 Server Setup Commands]]
 
[[New CentOS 7 Server Setup Commands]]
 +
 +
==Edit /etc/ssh/sshd_config to enable X11 forwarding==
 +
 +
edit /etc/ssh/sshd_config and replace:
 +
 +
<pre>
 +
X11Forwarding no
 +
X11UseLocalhost yes
 +
</pre>
 +
 +
with:
 +
 +
<pre>
 +
X11Forwarding yes
 +
X11UseLocalhost no
 +
</pre>
 +
 +
And add:
 +
 +
<pre>
 +
AddressFamily inet
 +
</pre>
 +
 +
Restart sshd
 +
 +
<pre>
 +
# /etc/init.d/sshd restart
 +
</pre>

Revision as of 17:25, 13 December 2018

Install and Setup New CentOS 7 Server

Create base Centos 7 server, as documented below

New CentOS 7 Server Setup Commands

Edit /etc/ssh/sshd_config to enable X11 forwarding

edit /etc/ssh/sshd_config and replace:

X11Forwarding no
X11UseLocalhost yes

with:

X11Forwarding yes
X11UseLocalhost no

And add:

AddressFamily inet

Restart sshd

# /etc/init.d/sshd restart