SSH is a powerful tool not only for astronomers. We often use it to download observation data from the observatory’s server or run some complicated programs on remote (overseas) servers. But for the reason as we all know, the SSH tunnels are always being obstructed. So we need some technique to get over such obstruction. Therefore, the obfuscated SSH turns out to be a sufficient method.
I will describe how to use obfuscated SSH_TUNNEL under Linux as below:
(Original Code: Here)
wget http://aenes.googlecode.com/files/brl-obfuscated-openssh.zip unzip brl-obfuscated-openssh.zip cd ./brl-obfuscated* ./configure --prefix=/usr/local/newssh --sysconfdir=/etc/newssh make make install
Then you need to configure the ssh server following the guide here.
Then use this to run the ssh client:
/usr/local/newssh/bin/ssh -N -v -Z ObfuscateKeyWord -p ***** username@hostname -D 127.0.0.1:7070
There are 4 parameters you need to specify: “ObfuscateKeyWord” is the obfuscated keyword you set in the configuration file (sshd_config) of the server, “*****” is the ssh server port number, “username” and “hostname” are as the name described.