Reaching out to others! Free & Open Source Software, Kannada, L10n, L18n Data Science, Cloud Computing & more…

#bcb10 – Localization Efforts for Sharing Knowledge

Did you ever dream of landing in an alien land or being treated as one in your own land? I had little such thoughts way back in time and that had made me start writing about my learning’s about technology, life etc in . Today I got a chance to share my work with enthusiasts at Barcamp Bangalore 10.

Thanks barcamp for the opportunity.

Tags: , , ,

Corkscrew for SSH over Squid

Accessing on networks powered through might be tricky if you’re new to tunneling etc. I was blocked by from sshing to remote machines and making changes to config as well as rules didn’t do any magic.

helped me recently to allow ssh access through HTTP-Proxy.

All that I had to do is to get Corkscrew from its homepage. Install it the way as follows.
Unpack and Compile corkscrew:

tar -xzvf corkscrew.tar.gz
# [..]
cd corkscrew
./configure
make install

You’re too good till here if everything goes fine. Lets see how we can use Corkscrew on SSH.

Suggest SSH command to use proxy by adding the following line to ssh that you find in your home directory. Mostly located in $HOME/.ssh/config. If you don’t find one, create it. Couple of lines marked below should go inside the config file.

Host *
  ProxyCommand corkscrew http-proxy.example.com 8080 %h %p

Replacing http-proxy.example.com with the name or address of your http proxy and possibly replacing 8080 with the port on which the proxy listens, which may be 80 or 3128 in case of squid. The %h and %p will be replaced automatically by SSH with the actual destination host and port.

These lines tell the SSH client to start corkscrew to make the actual connection to the SSH server. The Host * line says that this will be done for ALL hosts.

That is it. Now try to ssh to remote machines and see a thumbs up by your terminal prompt.

Many time this trick even works to when you want to browse your networks securely by tunneling over your remote machine for browsers.

Interesting site explaining more about Corkscrew can be found here.

Tags: , , , , ,

Installing ffmpeg on CentOS/RHEL servers

You can quickly install ffmpeg on or server via dag repository.

To proceed insert following lines to /etc/yum.repos.d/dag.repo

[dag]
name=Dag RPM Repository for Red Hat Enterprise
baseurl=https://apt.sw.be/redhat/el$releasever/en/$basearch/dag
gpgcheck=1
enabled=1

Add

/usr/local/lib

to

/etc/ld.so.conf

Then run:

ldconfig -v

Then run the following to install rpmforge-release info:

rpm -Uvh https://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.5.2-2.el5.rf.i386.rpm

Finally update yum cache and install ffmpeg as follows:

yum update
yum install ffmpeg ffmpeg-devel

Done!

Tags: , , ,

Flickr Uploader

Be simple and no more hard steps uploading photos to flickr. I found this tool very handy from burtonini.com. Add caption, set, send to groups, set privacy settings for each photo that you upload. Ofcourse write a description and title in any language using input method tool. You can find my flickr account filled with photo. […]