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

SSH

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


Pages: 1  2 

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #15 on Sun 21 Oct 2012 11:12 PM (UTC)
Message
If you SSH from the office, how do you get past the login prompt? The stunnel is designed so that you connect and then answer the usual prompts.

- Nick Gammon

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

Posted by ErockMahan   (81 posts)  Bio
Date Reply #16 on Mon 22 Oct 2012 03:30 PM (UTC)
Message
I have a login that should take me through that prompt once it shows up (I get it when I connect with PuTTY). It just says "login as:" right?

I meant missing files from the "OpenSSL DLLs" you referenced in your instructions.
Top

Posted by ErockMahan   (81 posts)  Bio
Date Reply #17 on Mon 22 Oct 2012 04:23 PM (UTC)
Message
As near as I can tell, I'm doing everything right after meticulously following http://www.gammon.com.au/mushclient/stunnel.htm

There were a few changes here and there, so I'm not sure if this makes the difference. I had to go to the openssl website and download the version of the file mentioned, which did not contain all the components listed (libssl32.dll, libeay32.dll and openssl.exe), but I figured I'd try anyway.

Launching stunnel after doing all the configuration gave me the following result in the log:

2012.10.19 09:28:09 LOG5[5624:4220]: Reading configuration from file stunnel.conf
2012.10.19 09:28:09 LOG5[5624:4220]: FIPS mode is enabled
2012.10.19 09:28:09 LOG5[5624:4220]: Configuration successful

That looked about as good as I could hope, but MushClient seems unable to connect to 'localhost' on port '5555' as I designated (again following the isntructions blindly):

Unable to connect to "MyMUDStunnel", code = 10061 (Connection refused)

Error occurred during phase: Connecting to world: 127.0.0.1, port 5555

For assistance with connection problems see:
http://www.gammon.com.au/forum/?id=8369

Any guess where my disconnect may lie?
Top

Posted by ErockMahan   (81 posts)  Bio
Date Reply #18 on Mon 22 Oct 2012 06:45 PM (UTC)
Message
Let me clarify. Step 3 of your instructions reads as follows:

•Stunnel requires the OpenSSL DLLs to work. You can currently find them at http://www.stunnel.org/download/stunnel/win32/openssl-0.9.6l/. Download the file openssl.zip. (That is a lower-case "L" at the end of the URL, not the number "1").
•Unzip the files in it (libssl32.dll, libeay32.dll and openssl.exe) into your c:\stunnel directory.
•If you can't find those files, or want more information, visit the OpenSSL web site.

The first link doesn't go to that page anymore. So going to the OpenSSL website and navigating to their http://www.openssl.org/source/ page, the version (9.6l) can be found and downloaded. Opening it up, though, the libssl32.dll, libeay32.dll and openssl.exe files are not present.
Top

Posted by ErockMahan   (81 posts)  Bio
Date Reply #19 on Mon 22 Oct 2012 08:28 PM (UTC)
Message
As near as I can tell, I'm doing everything right after meticulously following http://www.gammon.com.au/mushclient/stunnel.htm

There were a few changes here and there, so I'm not sure if this makes the difference. I had to go to the openssl website and download the version of the file mentioned, which did not contain all the components listed (libssl32.dll, libeay32.dll and openssl.exe), but I figured I'd try anyway.

Launching stunnel after doing all the configuration gave me the following result in the log:

2012.10.19 09:28:09 LOG5[5624:4220]: Reading configuration from file stunnel.conf
2012.10.19 09:28:09 LOG5[5624:4220]: FIPS mode is enabled
2012.10.19 09:28:09 LOG5[5624:4220]: Configuration successful

That looked about as good as I could hope, but MushClient seems unable to connect to 'localhost' on port '5555' as I designated (again following the isntructions blindly):

Unable to connect to "MyMUDStunnel", code = 10061 (Connection refused)

Error occurred during phase: Connecting to world: 127.0.0.1, port 5555

For assistance with connection problems see:
http://www.gammon.com.au/forum/?id=8369

Any guess where my disconnect may lie?
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #20 on Mon 22 Oct 2012 08:49 PM (UTC)

Amended on Mon 22 Oct 2012 08:51 PM (UTC) by Nick Gammon

Message
Those instructions are quite old.

I repeat, that all I did was run the installer here:

https://www.stunnel.org/downloads/stunnel-4.54-installer.exe


No files needed to be added.

I added your MUD to the stunnel.conf file.

I started stunnel.exe.


I connected using MUSHclient to localhost:5555

I see this in MUSHclient:


--- Connected on Tuesday, October 23, 2012, 7:44 AM ---
--- Disconnected on Tuesday, October 23, 2012, 7:44 AM ---
--- Connected for 0 days, 0 hours, 0 minutes, 1 second. ---

--- Received 4 lines, sent 0 lines.
--- Output buffer has 26/5000 lines in it (0.5% full).
--- Matched 0 triggers, 0 aliases, and 0 timers fired.
The "Imperial" server has closed the connection



I see this in the stunnel log file:


2012.10.23 07:44:54 LOG5[1052:2656]: Service [Imperial] accepted connection from 127.0.0.1:1783
2012.10.23 07:44:55 LOG5[1052:2656]: connect_blocking: connected 130.230.72.163:22
2012.10.23 07:44:55 LOG5[1052:2656]: Service [Imperial] connected remote server from 10.0.0.120:1784
2012.10.23 07:44:55 LOG3[1052:2656]: SSL_connect: 1408F10B: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number
2012.10.23 07:44:55 LOG5[1052:2656]: Connection reset: 0 byte(s) sent to SSL, 0 byte(s) sent to socket


I'm not sure about the "wrong version number" message.

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


72,717 views.

This is page 2, subject is 2 pages long:  [Previous page]  1  2 

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.