Thursday, June 24, 2021

Disabling redhat subscription manager

 





two solutions

in the plugin configuration file disable plugin

vim /etc/yum/pluginconf.d/subscription-manager.conf

enabled=0


or register to the satellite

Friday, June 11, 2021

SSH and Dockers

 https://stackoverflow.com/questions/34932490/inject-hosts-ssh-keys-into-docker-machine-with-docker-compose

https://github.com/avsm/docker-ssh-agent-forward

https://stackoverflow.com/questions/27504187/ssh-key-generation-using-dockerfile

Wednesday, June 2, 2021

Slow SSH

 I tried this:

RHEL7:
Symptom: 34 seconds to prompt password ssh login
Solution (my case):
- vi /etc/ssh/sshd_config
- GSSAPIAuthentication no
- service sshd restart

Other Linux versión:
vi /etc/ssh/sshd_config
UseDNS no

vi /etc/resolv.conf
options single-request-reopen ;in the last line. No network restart required


but none worked... in the end, the solution is to put my gateway into /etc/hosts


Solved!!!