KpyM Telnet/SSH Server - Forum
public key |
Anderson |
public key |
Aug 31 2010 13:43 |
|
how i can do to use a public key connection, i have a linux server and i like to conncet to windows and make some commands, for linux to linux i did using dsa public key, how i can do it?
|
Kroum Grigorov |
|
Sep 02 2010 05:23 |
|
1) use your client software to generate the private key file/public key file pair.
2) open your public key file with your favourite text editor, the public key file will look something like these:
[img:277d7d8101]l0c41://www.kpym.com/blog/images/pub0209.PNG[/img:277d7d8101]
3) take the public key part only(the selected text on the picture above) if it is on multiple lines, delete the new lines and convert it to one long line.
4) open c:\program files\kts\publickey_logon.ini file and fill in the public key(the long line from 3) and the user credentials(your windows login and pass) that the public key will map to.
-------------------------
; user #0
publickey0 =AAAAB3NzaC1kc3MAA...VixKU6sf==
username0 =jpdow
password0 =Ma1S1cretP@$$
domain0 =
-------------------------
Kroum
|
Anderson |
|
Sep 02 2010 11:47 |
|
I will try, thanks !!!
|
Kartnico |
|
Jan 15 2011 17:36 |
|
Hi All,
With this implementation, anybody can read user credentials !
Is there another implementation ?
Thanks.
Kartnico
|
Kroum Grigorov |
|
Jan 16 2011 19:12 |
|
>anybody can read user credentials !
Yep, anybody that has read access to the file.
> Is there another implementation ?
Nope, but you could easily hack your own implementation.
Kroum
|
kartnico |
|
Jan 16 2011 22:57 |
|
Thanks for your reply.
kartnico
|
Adam Tauno Williams |
|
Dec 30 2011 15:34 |
|
I have this setup, and the client prompts me to unlock the public/private key, so I believe the key exchange is occurring. BUT on the client I am still prompted for a password.
|
Victor |
|
Jul 18 2012 07:45 |
|
I generate keys without (or blank) passprhase, but when I try to login I can't , I'm using rebex gui client example, any idea?
|
Victor |
|
Jul 18 2012 07:59 |
|
I seems that public key auth just work for ssh sessions not for sftp clients.
I mean, I connect using putty to start a session and it works perfectly, but when I use the rebex sftp client sample, dosn't work, not pretty sure about what I'm talking about it.
|
Victor |
|
Jul 18 2012 11:12 |
|
Well, it looks like a rebex problem, I've tested with other clients using private key auth and it worked (putty,winscp).
I'm not pretty sure what's exactly the problem, the rebex sample works fine just with username and password, and using private key I've just tested with a commercial server ServU and worked. I suppose is more like a compatibility problem between KTS/Rebex.
My regards and at any case, thx
|
© 2007 - 2008 Kroum Grigorov