ssh over Authenticated proxy in Ubuntu

To connect to the remote Linux system using ssh we have to configure the proxy settings.

1) First install corkscrew by sudo apt-get install corkscrew

2) Create a file vi /home/username/.corkscrew-auth  replace username of yours & edit the file by adding your proxy username:password and save the file.

3) Edit the ssh configuration file  vi /etc/ssh/ssh_config  and append the following line to it and save :

ProxyCommand corkscrew 8080 %h %p /home/username/.corkscrew-auth

where replace with your proxy host name , 8080 with the port no,file /home/username/.corkscrew-auth having username and password


About Vaibhav

Friendly & Co-operative.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: