LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   SSH in windows ... (https://www.linuxquestions.org/questions/linux-newbie-8/ssh-in-windows-448215/)

medya 05-24-2006 05:51 PM

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

pdeman2 05-24-2006 06:05 PM

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).

medya 05-24-2006 06:07 PM

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?

haertig 05-24-2006 06:11 PM

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/

haertig 05-24-2006 06:12 PM

Sheesh! Two posts came in during the time it took me to type mine. You guys are fast!

medya 05-24-2006 06:14 PM

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

haertig 05-24-2006 06:15 PM

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]

medya 05-24-2006 06:22 PM

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 !


All times are GMT -5. The time now is 07:05 PM.