Cygwin related, SSH, port tunelling and remote admin soft.

GEC: Discuss gaming, computers and electronics and venture into the bizarre world of STGODs.

Moderator: Thanas

Post Reply
User avatar
His Divine Shadow
Commence Primary Ignition
Posts: 12791
Joined: 2002-07-03 07:22am
Location: Finland, west coast

Cygwin related, SSH, port tunelling and remote admin soft.

Post by His Divine Shadow »

So, on my firewalled work-PC I have one port open that I connect through using cygwin and OpenSSH, anyway I use the SSH connection to tunnel communications between my computer and the remote controll software running on my workstation(Remote Administrator).

Problem is I reinstalled my OS and now I forgot which port I should redirect the tunelling to on the remote computer, is there any commands of methods I can use to find out which ports are being listened to?
I am able to log into the openssh server and I have console access, but thats all.
Those who beat their swords into plowshares will plow for those who did not.
User avatar
Faram
Bastard Operator from Hell
Posts: 5271
Joined: 2002-07-04 07:39am
Location: Fighting Polarbears

Post by Faram »

In windows XP, 2k start a DOS Session and "netstat -an"
[img=right]http://hem.bredband.net/b217293/warsaban.gif[/img]

"Either God wants to abolish evil, and cannot; or he can, but does not want to. ... If he wants to, but cannot, he is impotent. If he can, but does not want to, he is wicked. ... If, as they say, God can abolish evil, and God really wants to do it, why is there evil in the world?" -Epicurus


Fear is the mother of all gods.

Nature does all things spontaneously, by herself, without the meddling of the gods. -Lucretius
User avatar
His Divine Shadow
Commence Primary Ignition
Posts: 12791
Joined: 2002-07-03 07:22am
Location: Finland, west coast

Post by His Divine Shadow »

Thanks, just what I was looking for, got it working now.
Those who beat their swords into plowshares will plow for those who did not.
Post Reply