KpyM Telnet/SSH Server - Forum
Can't connect to ssh server from Linux box |
Don James |
Can't connect to ssh server from Linux box |
Sep 20 2006 17:11 |
|
Hi,
I have installed kpym ssh server on my Windows 2000 box and checked services to make sure that it is running.
I am trying to connect to the ssh server from a Linux box running on the same local area network.
The ssh server refuses to accept my password. I get the message, "Permission denied, please try again."
What am I doing wrong?
Thanks for your help.
Sincerely,
Don James
Henderson, Texas USA
|
Don James |
Can't log in from linux box |
Sep 20 2006 18:24 |
|
Hi,
I'm now getting an error message that says, "Logon failure: unknown user name or bad password."
It doesn't prompt me for a password.
What am I doing wrong?
Sincerely,
Don James
|
Kroum Grigorov |
|
Sep 20 2006 18:47 |
|
Hi,
The message "Permission denied, please try again." seems to come from openssh servre installed on your windows box. If this is the case disable openssh service and then restart KTS service.
When you connect KTS wether you log in or not you will see banner telling you the KTS version:
KpyM TELNET/SSH Server v.1....
First of all check if you are really connecting to KTS.
Now on the message "Logon failure: unknown user name or bad password."
Supposing it is comming from KTS you might experiance this problem if you don't provide correctly your username and password. If you are using linux ssh command don't forget to provide your windows username when connecting using:
ssh username@host
Kroum
|
Don James |
Can't log in from linux box |
Sep 20 2006 19:07 |
|
Hi Kroum,
Yes, I did have openssh running, but now it is disabled and KTS is running.
I'm still getting the message, "Logon failure: unknown user name or bad password."
KTS must not be recognizing the user name because it doesn't prompt me for a password.
What am I doing wrong?
Sincerely,
Don James
|
Don James |
can't log in with ssh |
Sep 20 2006 19:27 |
|
Hi,
I looked at the log file and it says:
380 : 1284 2006- 9-20 19:21:35 519 : 0: KTS connected to 192.168.2.20:55165
1312 : 1496 2006- 9-20 19:21:35 639 : 0: term-ssh.exe started
1312 : 1496 2006- 9-20 19:21:35 689 : 0: connected to 192.168.2.20:55165
1312 : 1496 2006- 9-20 19:21:36 280 : 0: ssh initialized
1312 : 1332 2006- 9-20 19:21:47 556 : 0: user not in allowed list
1312 : 1332 2006- 9-20 19:21:47 576 : 0: login refused: [ mac ] - Logon failure: unknown user name or bad password.
1312 : 1332 2006- 9-20 19:21:47 576 : 0: user not in allowed list
1312 : 1332 2006- 9-20 19:21:47 587 : 0: login refused: [ mac ] - Logon failure: unknown user name or bad password.
1312 : 1332 2006- 9-20 19:21:47 587 : 0: user not in allowed list
1312 : 1332 2006- 9-20 19:21:47 587 : 0: login refused: [ mac ] - Logon failure: unknown user name or bad password.
1312 : 1496 2006- 9-20 19:21:47 647 : 0: max login attempts
1312 : 1496 2006- 9-20 19:21:48 448 : 0: term-ssh.exe end
************* end of log message ************
What is the allowed list?
Thanks,
Don James
|
Don James |
can't log in with ssh |
Sep 20 2006 22:17 |
|
Hi,
I re-installed the KTS server and now I can ssh to it from an open ssh client on a Linux box.
Not sure why it was not working before.
Another ssh server may have been running on this windows box.
Thanks,
Don James
|
Kroum Grigorov |
|
Sep 21 2006 19:15 |
|
Hi,
Just for info.
If you fill allowed_login_list only the users that are in that list will be allowed to login your host.
For more info check the [url=l0c41://www.kpym.com/bg/FAQ.htm]FAQ[/url] page under the question "I want to allow/forbid certain users from loging into KTS. Is it possible ?"
Kroum
|
© 2007 - 2008 Kroum Grigorov