LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-24-2006, 06:51 PM   #1
medya
Member
 
Registered: Sep 2005
Distribution: Ubuntu
Posts: 87

Rep: Reputation: 15
SSH in windows ...


hey guys I have learnt how to connect to my Squid Proxy by SSH ,
I used this in linux

ssh -L 8213:localhost:8213 root@200.214.211.190

then I enter my password,
then I set my browser's proxy to localhost:8213

how I can do the same thing in windows...
sorry I know that it is a windows question , and shouldnt be asked in linux forum...
but you know windows guys are not as Kind as Linux guys to help humans .. he he
 
Old 05-24-2006, 07:05 PM   #2
pdeman2
Member
 
Registered: Jul 2005
Location: Maine, USA
Distribution: OpenSUSE, Gentoo, Fedora, Ubuntu, Mandriva, others
Posts: 413

Rep: Reputation: 30
There are two good programs that come to mind that do this; PuTTY and Cygwin. PuTTY is just a SSH/Telnet client for Windows. Cygwin is a program that allows you to run a number of programs designed for Unix/Linux on Windows (including SSH).
 
Old 05-24-2006, 07:07 PM   #3
medya
Member
 
Registered: Sep 2005
Distribution: Ubuntu
Posts: 87

Original Poster
Rep: Reputation: 15
i have installed putty but I dont know how to tell it do this
ssh -L 8213:localhost:8213 root@200.214.211.190


I mean when I enter localhost:8213 in Firefox setting, I want Firefox to use that proxy...what and where should I say this to putty?
 
Old 05-24-2006, 07:11 PM   #4
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD
Posts: 2,116

Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330
Quote:
Originally Posted by medya
ssh -L 8213:localhost:8213 root@200.214.211.190
I would use a login with lesser priviledges than root myself, but it's your call.
Quote:
sorry I know that it is a windows question , and shouldnt be asked in linux forum...
You are allowed two Windows questions, THEN YOU'RE OUT!!!

From Windows, you can use Putty to set up the ssh connection with the port forwarding you need. Putty is a free ssh client. http://www.chiark.greenend.org.uk/~sgtatham/putty/
 
Old 05-24-2006, 07:12 PM   #5
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD
Posts: 2,116

Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330
Sheesh! Two posts came in during the time it took me to type mine. You guys are fast!
 
Old 05-24-2006, 07:14 PM   #6
medya
Member
 
Registered: Sep 2005
Distribution: Ubuntu
Posts: 87

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by haertig
Sheesh! Two posts came in during the time it took me to type mine. You guys are fast!
how to forward..can u please help me on that?
I want to forward it on localhost:8213
 
Old 05-24-2006, 07:15 PM   #7
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD
Posts: 2,116

Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330
From the Putty GUI, one the left side under "Category", choose Connections->SSH->Tunnels. Set it up, then save your session.

[edit]
Set "Local Port" to "8123" and "Destination" to "localhost:8123" in the Putty ssh tunnel config
[/edit]

Last edited by haertig; 05-24-2006 at 07:18 PM.
 
Old 05-24-2006, 07:22 PM   #8
medya
Member
 
Registered: Sep 2005
Distribution: Ubuntu
Posts: 87

Original Poster
Rep: Reputation: 15
thanks a lot haerig , I really missed linux..

i have had ubuntu for 2 months, after two months I just installed windows on my very old hard disk...
i should say windows sucks...linux is so much easier ...
I connected to SSH with one line command , here i connected to ssh with 20 clicks .

long life Linux !
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SSH on windows nolinuxnollife General 11 02-01-2006 06:16 PM
SSH from Windows MCD_Thom Linux - General 6 07-12-2005 11:38 PM
Windows and SSH aarond Linux - Security 5 07-24-2004 09:52 AM
X-windows through ssh sany0 Linux - Networking 7 10-25-2003 04:20 PM
ssh from windows mindcry Linux - General 7 01-25-2003 05:32 AM


All times are GMT -5. The time now is 10:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration