Version 8 (modified by fernando, 5 years ago) (diff) |
---|
Page Contents
Configuracione inicial Data
- Versión redhat-release CentOS release 6.9 (Final) inicialmente con 207 paquetes.
- Editar /etc/sysconfig/network-scripts/ifcfg-eth0-1 y /etc/resolv.conf
- Claves publicas en root, no funcionaba por SElinux restorecon -Rv ~/.ssh
mkdir /root/.ssh hmod -R go-rwx .ssh cat authorized_keys >> .ssh/authorized_keys chmod go-rw /root/.ssh/authorized_keys
Configuracione inicial spock
- Crear MV
- Se instala openssh-server y se configura public keys , no funcionaba por SElinux restorecon -Rv ~/.ssh se comprobó en cliente con ssh ···@··· -v y en servidor apagando servicio y arrancdo /usr/sbin/ssh -d. SElinux esta activo.
[root@spock2 ~]# setenforce permissive [root@spock2 ~]# sestatus SELinux status: enabled SELinuxfs mount: /selinux Current mode: permissive Mode from config file: enforcing Policy version: 24 Policy from config file: targeted [root@spock2 ~]# setenforce enforcing
- Se crear user ansible y se añade a grupo wheel