Tag Info

Hot answers tagged

4

I had a similar issue. Turned out that /etc/ssh/sshd.conf had AllowUsers line. Resolved it by adding new user to that line and restarting SSH.


3

My go-to for PHP on CentOS is the remi repository. Remi is a Red Hat employee who also packages the official Red Hat PHP packages, in addition to his own repos where he maintains compatible packages which are more current versions. Simply installing and enabling the remi repository on CentOS 6 and then yum updating is sufficient to upgrade to PHP 5.4. (The ...


3

RHEL/CentOS does not enable ECC by default in NSS. You have to explicitly specify which ciphers you want, e.g. curl --ciphers ecdhe_rsa_aes_128_gcm_sha_256 .... or whatever cipher is supported by your server and also supported by your version of curl/NSS. See http://stackoverflow.com/a/31108631/3081018 for more details. I tried with explicit cipher, ...


2

ssh tunneling is configured by the ssh-daemon itself. If the SSH daemon does not permit tunneling, you'll need to re-configure it. Typically, it's just running openssh server... and you can edit the /etc/ssh/sshd_config and add AllowTcpForwarding yes (remove AllowTcpForwarding no) and reload sshd config. As far as sftp goes, this is a slightly different ...


2

First: the sequence find . -type d -print0 | xargs -0 du | sort -n is incredibly recursive and inefficient. Finding the largest files, with find / -type f -print0 | xargs -0 du | sort -n is already much better with find / -type f -printf "%s %p\n" |sort -n even more efficient. Often more telling is where you lose your disk space and finding the largest ...


2

Does anybody know how I might begin to troubleshoot this? You know, the usual stuff from the sysadmin kitbag Use your console access to check your logs and take appropriate action. check you have correctly configured network interfaces check your firewall. check that sshd is running check your change/config management system for other recent stuff ...


2

If, for example, your IPs are 192.168.10.10 and 192.168.10.11, and you want sshd to listen to port 443 on IP1, and httpd to Listen to port 443 on IP2: Add to your /etc/ssh/sshd_config file: ListenAddress 192.168.10.10:443 and restart SSH. SSH will now listen on port 443 of IP1. Add to your httpd.conf file (assuming Apache, should be easy with other ...


1

In most cases this is Firewall who is causing troubles. Try to turn it off on the host and virtual machine and ping it again, than if it helps, turn it back on and configure Firewall rules accordingly.


1

Have you tried 127.0.0.1 as the hostname on the "General" Tab of your application? It's hard to tell exactly what this application is trying to do (remote/local/dynamic tunnel) I have to do something similar to get to a remote Oracle Database we use... I have the luxury of having access to either a linux workstation or cygwin. I am not familiar with the ...


1

if you compare the default value of the boolean, you can see if that was changed. semanage boolean -l | grep http SELinux boolean State Default Description httpd_can_network_relay (off , off) Allow httpd to act as a relay httpd_can_network_connect_db (off , off) Allow HTTPD scripts and modules to connect to databases over the ...


1

First off, a clarification. Kerberos and SSH Keys are two mutually exclusive authentication methods for SSH. You don't use Kerberos with SSH Keys. You use Kerberos instead of SSH Keys. Both allow for "passwordless" SSH logon. A bit of reading on the Kerberos protocol may be in order. With Kerberos, you need to obtain a TGT that proves you are who you say ...



Only top voted, non community-wiki answers of a minimum length are eligible