Linux Iptables: Add / Delete An IP Address Remotely Using A Shell Script

Posted on in Categories , , , , , , , , last updated October 22, 2009

I’ve root ssh access and need to add / delete a few IP address on fly using the IPtables command via local shell script. How do I add or delete an IP address remotely over the SSH session under CentOS / Redhat / RHEL / Debian / Ubuntu Linux?

Linux X11 Connection Rejected Because of Wrong Authentication Error and Solution

Posted on in Categories , , , , , , , , last updated September 17, 2008

Q. I’m trying to login to my remote Ubuntu Linux server from Mac OS X desktop using following command:
ssh -X [email protected] xeyes

But I’m getting an error that read as follows:

X11 connection rejected because of wrong authentication.

How do I fix this error?