SSHD Gives error could not open Authorized Keys, although permissions seem correct

If the permissions are correct, SELinux might still be preventing sshd from opening the file. Try fixing the labels inside the .ssh directory (and maybe $HOME): restorecon -FRvv ~/.ssh If the user account uses non-standard home path, default labels for the path need to be added to the local configuration first: semanage fcontext -a -t … Read more

Can’t ssh to vagrant VMs using the insecure private key (vagrant 1.7.2)

Vagrant changed the behaviour between 1.6 and 1.7 versions and now will insert auto generated insecure key instead of the default one. You can cancel this behaviour by setting config.ssh.insert_key = false in your Vagrantfile. Vagrant shouldn’t replace insecure key if you specify private_key_path like you did, however the internal logic checks if the private_key_path … Read more

Unable to open X display when trying to run google-chrome on Centos (Rhel 7.5)

You can try with Xvfb. it does not require additional hardware. Install Xvfb if you didn’t install it yet and do the following steps. sudo apt-get install -y xvfb Dependencies to make “headless” chrome/selenium work: sudo apt-get -y install xorg xvfb gtk2-engines-pixbuf sudo apt-get -y install dbus-x11 xfonts-base xfonts-100dpi xfonts-75dpi xfonts-cyrillic xfonts-scalable Optional but nifty: … Read more