Tag Archives: ssh

How to Browsing the Web Using SSH Tunnel

Assalamualaikum, Sometimes you need to configure something on your client office (router/firewall), but the only way to do that was to be on the their internal network and browse to it using a browser. Trying text based browsers didn’t work, … Continue reading

Posted in Browser, Linux, UNIX | Tagged , ,

Howto Set Up SSH Keys

Bismillahirrahmanirrahim.. WHAT IS SSH KEY? SSH keys provide a more secure way of logging into a virtual private server with SSH than using a password alone. It allows user to access to the server with authorized_keys instead of using password. … Continue reading

Posted in Linux | Tagged , ,

Quit Bash Shell Without Saving Bash History

Bismillahirrahmanirrahim.. Sometimes it is very useful to delete / remove Bash history partially or completely when log out. Here is my favourite methods howto log out / quit / exit Bash shell without saving Bash history. Remove Only Current Session … Continue reading

Posted in Linux, Solaris, Zimbra | Tagged ,

Disable SSH Timeout

Bismillahirrahmanirrahim.. If you ever see your SSH session gets killed, don’t panic 😀 There is nothing wrong, you need to modify the following directives in your /etc/ssh/sshd_config $vim /etc/ssh/sshd_config Update these directives : TCPKeepAlive yes ClientAliveInterval 30 ClientAliveCountMax 99999 Restart … Continue reading

Posted in Linux | Tagged , , , , | Leave a comment

Disable Remote ROOT SSH Login In Centos 6.5

Assalamualaikum, To disable root logins you will need to edit the /etc/ssh/sshd_config file as the root user and uncomment (Remove the # from the beginning) the line containing below and changing the yes to a no. PermitRootLogin no After you … Continue reading

Posted in Linux | Tagged , , | Leave a comment

WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!

Bismillahirrahmanirrahim.. When trying to SSH to another machine and getting the following message and the public key of the remote machine has changed since your last login, you’ll be presented with the following error; [XX@XX ~]$ ssh root@pong @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ … Continue reading

Posted in Linux | Tagged , , , | Leave a comment

How to enable X11 Forwarding

Bismillahirrahmanirrahim.. When you failed to remote access to you Solaris box using XStart (XManager) and it show error “The remote host may not have X11 Forwarding (or X11 Tunneling) enabled”. This steps will do the trick. 1. log in your solaris box using ssh … Continue reading

Posted in Solaris | Tagged , , , , , , , | Leave a comment