Category Archives: Troubleshooting

How to fix: error while loading shared libraries: liblwres.so.50

To fix this error: # nslookup mydomain.com nslookup: error while loading shared libraries: liblwres.so.50: cannot open shared object file: No such file or directory Do this: # ldconfig # dig mydomain.com ; DiG 9.6.1-RedHat-9.6.1-2.fc11 mydomain.com … From the ldconfig manpage: … Continue reading

Posted in Linux, Troubleshooting | Leave a comment

How to Fix "SSH Public Key Authentication Failed"

If your SSH public key authentication is failing with errors like this: $ ssh -vvv myhost.com debug3: authmethod_is_enabled publickey debug1: Next authentication method: publickey debug1: Offering public key: /home/kitamura/.ssh/id_dsa debug3: send_pubkey_test debug2: we sent a publickey packet, wait for reply … Continue reading

Posted in Linux, SSH, Troubleshooting | 1 Comment

Ubuntu/Fedora: How to Connect Vista and Samba

Go through the usual setup at Samba.org or use YUM (yum install -y samba) By default, the smb.conf allows sharing of home directories. Add a Samba user (smbpasswd -a myusername) On Fedora, run SELinux Administration On the left menu, click … Continue reading

Posted in Linux, Samba, Troubleshooting, Ubuntu, Windows | Leave a comment

ssh_exchange_identification: Connection closed by remote host

On the destination server, remove the known_hosts file: rm ~/.ssh/known_hosts Remove any relevant entries in your /etc/hosts.deny file: /etc/hosts.deny: # DenyHosts: Fri Jun 25 16:10:25 2010 | sshd: xxx.xxx.xxx.xxx sshd: xxx.xxx.xxx.xxx Also, try this in your /etc/hosts.allow file /etc/hosts.allow: SSHD: … Continue reading

Posted in Linux, SSH, Troubleshooting | Leave a comment