There is a nice blog about Blogspot. If you use Blogger as free blog, you should check this blog: http://blogknowhow.blogspot.com/. There are so many resource about styling, monetizing, and optimizing your blogspot space.
Let's check it out and enjoy!
Wednesday, April 27, 2011
How to Tunnel SSH via HTTP Proxy
I have to access ssh server but there is http proxy when I want to go to internet. How can I tunnel ssh via http proxy? Here are the way to do it:
# Download corkscrew. It is easy tool for tunneling SSH through HTTP proxies
# Extract corkscrew then configure and install it
# Download corkscrew. It is easy tool for tunneling SSH through HTTP proxies
# Extract corkscrew then configure and install it
tar -xzvf corkscrew.tar.gz# Create ~/.ssh/proxyauth file and set authentication for http proxy server
cd corkscrew
./configure
make install
username:password# Open ~/.ssh/config file. Add proxy server ip address and its authentication in proxyauth file like this:
Host *# Try to access your server via ssh
ProxyCommand corkscrew proxy_ip_address proxy_port %h %p ~/.ssh/proxyauth
ssh username@example.comAnd it's all done. Enjoy!
Labels:
Ubuntu Proxy
Monday, April 18, 2011
Apache Rewrite Modul Problems in Linux Ubuntu
I often have a problem with rewrite modul in Apache. When you have the same problem like me, you should check:
# RewriteBase syntax in .htaccess
# "Allow all" option in /etc/apache2/sites-enabled directory. Here are the example of 000-default file in sites-enabled directory (in tag Directory "/var/www/somedir"):
# Is .htaccess file executable?
# Make sure rewrite module is loaded in Apache. When this module successfully loaded, it will appear in mods-enabled directory as rewrite.load file. You can load them by issuing:
# RewriteBase syntax in .htaccess
# "Allow all" option in /etc/apache2/sites-enabled directory. Here are the example of 000-default file in sites-enabled directory (in tag Directory "/var/www/somedir"):
Order allow,deny
Allow from all
AllowOverride All
# Is .htaccess file executable?
# Make sure rewrite module is loaded in Apache. When this module successfully loaded, it will appear in mods-enabled directory as rewrite.load file. You can load them by issuing:
sudo a2enmod rewriteJust double check them. Enjoy!
Labels:
Ubuntu Apache
Subscribe to:
Comments (Atom)