Zamir's Board

Just record myself

View on GitHub
11 August 2014

Working under https-proxy

by Zamir

  1. SSH over http proxy

for Fedora:

#yum install connect-proxy

then configure ~/.ssh/config

Host 202.190.*.*

ProxyCommand connect-proxy -H proxy.corp.com:80 %h %p

ServerAliveInterval 30

then you can ssh user@202.194.1.2 now

For Solaris 11, you just need to configure your ssh config.

HOST 202.190.*.*

ProxyCommand /usr/lib/ssh/ssh-http-proxy-connect -h proxy.corp.com -p 80 %h %p

See http://docs.oracle.com/cd/E19683-01/817-0365/6mg5vpmga/index.html for more information and if you are SOCKS proxy.

  1. IMAP/SMTP over http proxy

Download http://proxytunnel.sourceforge.net/ and then compile it

copy the binary file to somewhere such as /usr/local/bin

then run the following

#proxytunnel -a 993 -p proxy.corp.com:80 -d imap.gmail.com:993 &

#proxytunnel -a 465 -p proxy.corp.com:80 -d smtp.gmail.com:465 &

Configure Thunderbird config to localhost:{smtp,imap}port

  1. Maven over http proxy

Find the maven config. If you use yum install maven to install under Fedora, it will be in /etc/maven/settings.xml.

Fix the section. Add like the following

 

optional
true
http
proxy.corp.com
80

</proxy>

  1. OT. Get Emoji characters display in Fedora:
sudo yum install gdouros-symbola-fonts

See http://fedoramagazine.org/how-to-get-emoji-to-display-on-fedora/

tags: