KpyM Telnet/SSH Server - Forum
reconnect issues
Bernd reconnect issues
 
disconnected sessions do not seem to work.

when i disconnect a session (just kill putty as a test) it's session remains visible in active sessions (status disconnected) . when i start a new session, it just opens a new one, from the same IP address. in many cases it seems as if the client tries to open its disconnected session, but fails doing so. meanwhile, you cannot do anything on a terminal

Directory of c:\KTS\KTS\log\active-sessions

03/14/2016 06:35 PM <DIR> .
03/14/2016 06:35 PM <DIR> ..
<cut>
03/14/2016 06:35 PM 0 kts_10.201.40.86_51174_928_disconnected_prd_telnet@kts1-msm-be_2016-03-14 18h 34m 22s
03/14/2016 06:35 PM 0 kts_10.201.40.86_51176_2600_shell_prd_telnet@kts1-msm-be_2016-03-14 18h 35m 08s
4 File(s) 0 bytes
2 Dir(s) 26,820,128,768 bytes free



kts.ini (removed all comments and regkey)
[KRegkey]
registration_key =<cut>

[KDaemon]
use_ssh =0
port =23
ip =""

service_name =KpyM Telnet SSH Server v1.19c
service_info =Free open source TELNET-SSH server for Windows.


trace_level =10
log_file ="%KTS_HOME%\log\kts-log.txt"
trace_file =
error_file ="%KTS_HOME%\log\kts-daemon.?pid.err"


max_sessions = 255


[KSession]
kex_algo_list = "diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1"
encr_algo_list = "3des-cbc,blowfish-cbc,cast128-cbc,idea-cbc,arcfour"
mac_algo_list = "hmac-sha1,hmac-md5"

max_portforward_channels = 15

sftp_root = "%USERPROFILE%"

sftp_init = "%COMSPEC% /C "scripts\sftp_init.bat""

allow_disconnected_sessions =1

auto_reconnect_session = 1

pipe_mode = 0

rsakey_file ="%KTS_HOME%\rsakey.ky"
key_init ="%KTS_HOME%\utf-8.ini"
telnet_init ="%KTS_HOME%\telnet.ini"
auto_logon_init ="%KTS_HOME%\auto_logon.ini"
publickey_logon_init ="%KTS_HOME%\publickey_logon.ini"
active_sessions_dir ="%KTS_HOME%\log\active-sessions"
subsystems_dir ="%KTS_HOME%\subsystems"

ban_max_connections =0
ban_ip_directory ="%KTS_HOME%\log\ip-ban"

welcome_message = "\n ================================================================\n KpyM TELNET/SSH Server v%KTS_VERSION%\n http://www.kpym.com/\n Copyright (c) 2002-2011, Kroum Grigorov\n All rights reserved.\n ================================================================\n\n"

login_message = "\nlogin: "
pass_message = "\npassword: "
pass_timeout_message = "\npassword timeout"
idle_timeout_message = "\nidle timeout"
service_stopped_message = "\nservice stopped"
login_successfull_message = "\n\n"
shell_dead_message = "\nlogout\n"


shell_command = "%COMSPEC% /K "scripts\__shell.bat""

default_user = ""
default_pass = ""
default_domain = ""

trace_level =10
log_file ="%KTS_HOME%\log\kts-log.txt"
trace_file =
error_file ="%KTS_HOME%\log\kts-term.?pid.err"

pass_timeout = 30
idle_timeout = 28800
io_timeout = 30
max_login_attempts = 3

net_check_delay = 300

refresh_delay = 100
health_monitor_timeout = 1000

first_packet_timeout = 50

screen_width = 80
screen_height = 24
buff_height = 300

dumb_client = 1



[KKey]
send_key_delay = 50

send_same_key_delay = 100



server: windoes 2012 64 bit


bernd
 
... however most of the time, the client succeeds in getting its disconnected session, but it takes some time to complete. meanwhile, you cannot do anything on the terminal...


bernd
 
in some occasions, an error occures:

2600 : 2832 2016- 3-14 18:35: 9 351 : 0: }

2600 : 2832 2016- 3-14 18:35: 9 351 : 0: KConsole::Write( string[
] ){

2600 : 2832 2016- 3-14 18:35: 9 351 : 0: KConsole::GetOutputHandle( );{

2600 : 2832 2016- 3-14 18:35: 9 351 : 0: }

2600 : 2832 2016- 3-14 18:35: 9 351 : 0: }

2600 : 2832 2016- 3-14 18:35: 9 351 : 0: KSessionState::ChooseDisconnectedSession( ){

2600 : 2832 2016- 3-14 18:35: 9 351 : 0: KSessionState::FindDisconnectedSessions( prd_telnet@kts1-msm-be ){

2600 : 2832 2016- 3-14 18:35: 9 351 : 0: }

2600 : 2832 2016- 3-14 18:35: 9 351 : 18: KSESSION_STATE::FromString( ){

2600 : 2832 2016- 3-14 18:35: 9 351 : 0: wrong seps number le = 18


bernd
 
... when i tick "disconnect session" on the handheld terminal, and reconnect, it will always create a new session. the log will show

1204 : 1260 2016- 3-14 18:56:38 282 : 0: KTS connected to 10.192.18.227:1057

148 : 2156 2016- 3-14 18:56:38 345 : 0: session.exe started

148 : 2156 2016- 3-14 18:56:38 439 : 0: connected to 10.192.18.227:1057

148 : 3452 2016- 3-14 18:56:39 532 : 0: auto login found: [ 10.192.18.227 / SCAN_bekarton2@ ]

148 : 3452 2016- 3-14 18:56:39 548 : 0: login accepted: [ scan_bekarton2 ]

1204 : 1260 2016- 3-14 18:57:49 298 : 0: KTS connected to 10.192.18.227:1025

1748 : 3040 2016- 3-14 18:57:49 345 : 0: session.exe started

1748 : 3040 2016- 3-14 18:57:49 454 : 0: connected to 10.192.18.227:1025

1748 : 2612 2016- 3-14 18:57:50 548 : 0: auto login found: [ 10.192.18.227 / SCAN_bekarton2@ ]

1748 : 2612 2016- 3-14 18:57:50 548 : 0: login accepted: [ scan_bekarton2 ]

1748 : 3660 2016- 3-14 18:59: 2 485 : 0: disconnected

1204 : 1260 2016- 3-14 18:59:26 282 : 0: KTS connected to 10.192.18.227:1029

1728 : 692 2016- 3-14 18:59:26 329 : 0: session.exe started

1728 : 692 2016- 3-14 18:59:26 438 : 0: connected to 10.192.18.227:1029

1728 : 2128 2016- 3-14 18:59:27 547 : 0: auto login found: [ 10.192.18.227 / SCAN_bekarton2@ ]

1728 : 2128 2016- 3-14 18:59:27 547 : 0: login accepted: [ scan_bekarton2 ]

1728 : 2128 2016- 3-14 18:59:27 563 : 0: wrong seps number

1728 : 112 2016- 3-14 18:59:38 516 : 0: disconnected

1204 : 1260 2016- 3-14 18:59:45 766 : 0: KTS connected to 10.192.18.227:1030

1544 : 860 2016- 3-14 18:59:45 813 : 0: session.exe started

1544 : 860 2016- 3-14 18:59:45 922 : 0: connected to 10.192.18.227:1030

1544 : 3180 2016- 3-14 18:59:47 32 : 0: auto login found: [ 10.192.18.227 / SCAN_bekarton2@ ]

1544 : 3180 2016- 3-14 18:59:47 32 : 0: login accepted: [ scan_bekarton2 ]

1544 : 3180 2016- 3-14 18:59:47 47 : 0: wrong seps number

1544 : 3180 2016- 3-14 18:59:47 47 : 0: wrong seps number


activate roku Code
 
This is least difficult approach to stream stimulation to your TV. On your terms. With a great many accessible channels to look over for more details.visit: activate roku code today.


hardeep01
 
Roku gives the least difficult approach to stream diversion to your TV. On your terms roku.com/link With a huge number of accessible channels to browse.


hardeep01
 
Initiate Roku.com/interface, go to roku link?code account enter Roku com connect code showed on Roku TV. My roku com interface not working utilize new Roku code


hardeep01
 
This is least troublesome way to deal with stream incitement to your TV. On your terms. With a considerable number of available channels to investigate for more details.visit: roku activation?link code today.


hardeep01
 
Roku gives the least troublesome way to deal with stream redirection to your TV. On your terms roku activation code With countless channels to peruse.


hardeep01
 
Start Roku.com/interface, go to Activation Roku Code Link account enter Roku com associate code appeared on Roku TV. My roku com interface not working use new Roku code


hardeep01
 
This is least troublesome approach to manage stream actuation to your TV. On your terms. Wit h an extensive number of accessible channels to research for more details.visit: roku code link today.


hardeep01
 
Roku gives the least troublesome approach to manage stream redirection to your TV. On your terms www.roku.com/link With innumerable channels to scrutinize.


hardeep01
 
Download office apparatuses without putting any endeavors.We are prepared to give you complete help till the culmination of the establishment procedure. Well ordered guidelines to introduce setup office in your PC. For any assistance office setup Call us and we are here to support you.


hardeep01
 
Download office tools without putting any efforts. We are ready to give you complete help till the completion of the installation process.Step by step instructions to install office 365 in your computer. For any help setup office Call us and we are here to help you.


hardeep01
 
norton help to guarantee your devices against antiviruses and offer security to customer and giving identity and contraption confirmation to your related life. visit : norton.com/setup for more details.


hardeep01
 
Download office instruments without putting any endeavors. We are prepared to give you complete help till the finishing of the establishment procedure Step by step guidelines to introduce in your PC. For any assistance office.com/setup Call us and we are here to support you.


Pollard Holmes
 
I am a Young fellow who loves to write. I'll quote myself by saying that I am a human by nature, writer by profession and a mighty traveler by passion. I'll always want to write about the things that people are using in their day to day life.

My Creations : <a href="http://fav.me/ddah7no">How to activate Natgeo on Roku</a> | <a href="http://pollardholmes11.soup.io/">What is Roku Link Code?</a>


office.com/setup
 
In this establishment procedure, office.com/setup is a standout amongst the most significant establishments that you need to do. It won't be an excessive amount to state that MS office is a standout amongst the most valuable projects without which no PC is finished. It encourages you in a variety of ways.
http://offi-office.com/setup/


office.com/setup
 
office.com/setup starting at now that your microsoft office 365 record has been set up and you have gotten beginning at now that your microsoft office 365 record has been set up and you have gotten the a titanic extent of your customer limits, you can on a particularly basic measurement ahead and set up the microsoft suite on your customers' work locale and pushed
http://go-office-2019.com/
http://mskeyoffice.com/
http://sy-norton.com/
http://ww-norton.com/
http://mcafee-activate-fast.com/


mcafee.com/activate
 
mcafee.com/activate global threat intelligence (gti) is a comprehensive cloud-based threat intelligence service .
http://immcafee.com/

norton.com/setup product key: steps to download, install and prompt norton: earlier than you provoke downloading the norton setup, you need to redeem your product key.
http://setup-request.net/


Office.com/setup
 
Microsoft Office or simply office is a service developed by Microsoft itself. It is built with collection of office-related applications.

http://www.officecomsetupp.us


abhi kumar
 
I would like to thank, you for sharing this relevant content. That is highly helpful. If you face any problem which is related to the seo company in India contact us. https://www.tangensys.com/seo-services/


office.com/setup
 
office.com/setup we have no link or affiliation with any of the brand or third-party company as we independently offer support service for all the product errors you face while using the Office. If your product is under warranty, then you may also avail our support services for free from manufacturer?s official website

http://quick-product-activation.com/
http://instal-office.com/
http://en-us-office.com/
http://quickproductactivate.com/
http://retailcard-activation.com/
http://now-mcafee.com/


BriellaWilson
 
There are 4 dosing characteristics in which Cenforce can be easily practical are 50mg, 100mg, 150mg, and 200mg. Take this prescription by the oral course with a colossal measure of water. Take this remedy one hour before getting a charge out of the sexual session. This drug gives you an erection for 4 to 5 hours that did not go easily and for getting a charge out of even more lovemaking session; he needs to take another part on following day. For quite a while erection you have to use Cenforce 200 mg once a period in a day.
Visit more Products:--
https://www.unitedmanshop.com/product/buy-cenforce-100-mg-usa-uk-paypal/

https://www.unitedmanshop.com/product/buy-cenforce-150-mg-online-paypal-credit-card/

https://www.unitedmanshop.com/product/buy-cenforce-200-mg-online-paypal/

https://www.unitedmanshop.com/product/buy-fildena-100-mg-online-paypal/

https://www.unitedmanshop.com/product/buy-vidalista-20-online-paypal/

https://www.unitedmanshop.com/product/kamagra-100-reviews-dosage-uses-side-effect/


Office.com/setup
 
To sanction the assistance of Office products, visit <a href="http://office-comofficeoffice.com/">Office.com/setup</a> and enter <a href="http://office-comofficeoffice.com/">office setup</a> furthermore than product key and set in motion your MS Office products such as Microsoft word, excel, PowerPoint Skype etc.
http://office-comofficeoffice.com/


McAfee.com/activate
 
I really happy found this website eventually. Really informative and inoperative, Thanks for the post and effort! Please keep sharing more such blog.
http://go-mcafeecomsactivate.com/
http://setup-office-install.com/
http://usetupoffice.com/
http://www.mcafeemavretailcard.net/


TomTom Update
 
TomTom is a multinational developer & creator of navigation technology and consumer electronics. TomTom has a vast range of devices for navigation and electronics and this also needs regular updations. Here we are talking about updating your TomTom navigation device.

Official website : http://tomtomupdates.uk .


mcafee.com/activate
 
To prevent the malware from harming the organizers on the gadget, McAfee Antivirus programming must be downloaded in the gadget. In the wake of downloading the McAfee Antivirus, the security for the framework information consequently begins. https://helpmcafeeactivate.com/
http://macfee-activate.com/
http://mcafeeactivate.website/
https://camcafee.com/
http://macfeeactivate.com/
http://activatemcafee.net/
http://mcafee-mtp-retailcard.com/


karenminton
 
Nice knowledge gaining article. This post is really the best on this valuable topic.

http://norton-norton.uk
http://1norton.uk
http://ennorton.uk
http://www-office.uk


TomTom Update
 
If you facing any problem regarding tomtom and avast visit our website .

http://tomtomupdates.uk/

http://myavast.org/ .


brucewaynes256
 
I really appreciate this wonderful post that you have provided for us. I assure this would be beneficial for most of the people.
https://mcafee-activate.me/
http://enterproductkey.com/
http://omcafee.com/


123.hp.com/setup
 
123.hp.com/setup are the best printing solutions existing in the market with maximum computer compatibility.
https://8hp123hp.com/


123.hp.com/setup
 
I found this post quiet interesting and exciting, and the author of this post has explained everything in detail that is the best thing that i liked about this post. I am looking forward to such great posts.
https://8hp123hp.com


alexsmith0007
 
Thank you so much for sharing such superb information's with us. Download the Microsoft Office setup on your Windows or Mac computer. Make sure that the Office product key is already copied for the activation procedure. <a href="https://mynew-office.com">office.com/setup</a> | <a href="https://www.msofice.com/office-setup-2019/">office.com/setup</a>

Before you set up McAfee Antivirus protection on your device, you first need to make sure that you don?t have an older version of McAfee on your device. <a href="http://start-mcafee.com">mcafee.com/activate</a> | <a href="https://start-product-activate.com/">mcafee.com/activate</a> | <a href="https://mcafeeoactivate.com/activate/">mcafee.com/activate</a>


junesara5000
 
McAfee is well known and popular antivirus program that a user can download and activate at mcafee activate card.
https://www.mcafee.com-activate-card.net


Norton.com/setup
 
Norton.com/setup- Get the ultimate security protection by downloading, installing, and activating Norton antivirus.
Have a visit on www.norton.com/setup or norton.com/setup for full protection for your device against all possible
treats.

https://n-norton-norton.com/setup/


 

© 2007 - 2008 Kroum Grigorov
Powered by phpBB © 2001, 2005 phpBB Group