Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ General ➜ SSH tunneling through putty not working

SSH tunneling through putty not working

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Grakus   (2 posts)  Bio
Date Thu 21 Aug 2008 11:28 PM (UTC)
Message
Hello,

I'm attempting to set up an ssh tunnel through a ssh shell using putty, in order to use mushclient to connect to a mud.

putty -L 4000:arandommud:9999 -ssh sshshell.com -l username -pw password

This -should- set up a tunnel whereby if I open mushclient and type in 'localhost' port 4000, I should connect.

However, it just closes the connection as suddenly as it opens it and states that the server has closed the connection. This happens with me logged into the shell, at the prompt, and also from me logged into the mud through the shell. Sometimes it will just hang till you type something and then close.

I did a netstat -a and my pc is listening on port 4000, so I should locally see it.

What am I doing wrong here?
Top

Posted by WillFa   USA  (525 posts)  Bio
Date Reply #1 on Thu 21 Aug 2008 11:58 PM (UTC)
Message
if you telnet to localhost:4000 do you connect?
Top

Posted by Grakus   (2 posts)  Bio
Date Reply #2 on Fri 22 Aug 2008 12:47 AM (UTC)
Message
Negative. It's very perplexing. It should work.
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #3 on Fri 22 Aug 2008 07:45 AM (UTC)
Message
Have you read this? ...

http://www.gammon.com.au/mushclient/stunnel.htm

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


14,679 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.