| Forums -> freeSSHd - General -> public key authentication |
|
Postings: 1-10 11-20 21-30 31-40 41-50 51-60 61-70 71-80 81-82
Reply |
New topic
|
| |
IwantMyKeys
Anonymous
|
|
29-10-2008 12:48 |
Hi, I work without problems when use putty (creating keys as it is said in second post). It works fine. But now I am trying to do it with SSH Secure Shell v3.2.9 (b283) (non commercial version -in university-) and here starts the problems... This is what I do: 1-Generate RSA and DSA private keys (1024 or 204  in freeSSHd server. 2-Try to import one of these private keys (the RSA or DSA) in SSH Secure Shell (in settings->keys window) to create my public key but it returns an error "error c:...privatekeyfile for reading and writing". There is no way to import these keys... I try to create the private keys in SSH Secure Shell but when I try to load in SSH tab of freeSSHd server it returns "failed to import key from file" (it seems that SSH Secure Shell creates an incompatible privatekeys, something similar happends when creates the privatekeys in puttygen and load in freeSSHd). Now, I don't know what can I do to make it works :S
|
| Reply with quote |
| |
|
| |
IwantMyKeys
Anonymous
|
|
29-10-2008 20:18 |
Hi! I found the solution. Simply: 1-Create the private and public keys in SSH Secure Shell. 2-Edit the public key (???.pu  and delete all comments and the "return simbols" (convert it as an OpenSSH file-> this can be done in putty...). Save it with the Logging name and copy it in the freeSSHd correct path. And now it works fine! Quote: Hi, I work without problems when use putty (creating keys as it is said in second post). It works fine. But now I am trying to do it with SSH Secure Shell v3.2.9 (b283) (non commercial version -in university-) and here starts the problems... This is what I do: 1-Generate RSA and DSA private keys (1024 or 204 in freeSSHd server. 2-Try to import one of these private keys (the RSA or DSA) in SSH Secure Shell (in settings->keys window) to create my public key but it returns an error "error c:...privatekeyfile for reading and writing". There is no way to import these keys... I try to create the private keys in SSH Secure Shell but when I try to load in SSH tab of freeSSHd server it returns "failed to import key from file" (it seems that SSH Secure Shell creates an incompatible privatekeys, something similar happends when creates the privatekeys in puttygen and load in freeSSHd). Now, I don't know what can I do to make it works :S
|
| Reply with quote |
| |
Jabar
Anonymous
|
|
30-10-2008 18:54 |
Hi, May I know as did you solve this issue?. Because am getting same kind of issue in my environment as "Invalid username or password reported by server". Can you please help us? Quote: Hi, I have been trying for a few evenings and still no luck to make the server to authenticate by public key. I logged in as Administrator to both W2K and my SFTP client ( I wrote it using WeOnlyDo SSTP DLL in VB6). I put the public key at E:mySFTPssh2authorizations with the same name Administrator. I followed the steps described above but no luck. I kept getting "Invalid username or password reported by server". The server log has these lines: 01-31-2005 22:18:48 SSH server started. 01-31-2005 22:19:11 IP 192.168.10.200 SSH connection attempt. 01-31-2005 22:19:11 IP 192.168.10.200 SSH disconnected. Could someone please help me out here. Thanks
|
| Reply with quote |
| |
freesshd
Your main contact
Postings: 936
Administrator
|
|
30-10-2008 22:45 |
Jabar, Please follow each step described in the beginning of this thread. Probably freeSSHd is unable to find the public key. Check that it is in the right folder. Regards
|
| Reply with quote |
| |
|
| |
Ted
Anonymous
|
|
09-11-2008 02:56 |
Just FYI...the public key file needs to have the same case as your login. For example, a login of Ted and public key file of ted will not work. It has to be Ted and Ted.
|
| Reply with quote |
| |
viorin
web
Postings: 1
Newcomer
|
|
28-11-2008 09:23 |
what is freeSSHd support with windows 2008 server? any massages in windows 2008, "not supported"
____________________________________
??
|
| Reply with quote |
| |
mono
polo
Postings: 6
New member
|
|
29-11-2008 14:37 |
Hello, I have a following problem with public key authentication. I proceeded along your 4 basic step on the start of this discussion. Unfortunately communication between free sshd and putty dont work. At hte first: In SSHd->tab SSH DSA key file is notice: Failed to import key from file. Is it normal? When I login to the free SSHd(with using putty) so after type passphrase appear notice: Disconnected: No supported authetication methods available. Can you say what I do wrong? Regards Pavel
|
| Reply with quote |
| |
|
| |
Andrwe
a bit network knowledge
Postings: 25
New member
|
|
01-12-2008 22:55 |
Quote: In SSHd->tab SSH DSA key file is notice: Failed to import key from file. Is it normal?
Hi, you've done it in a wrong way. You can't import a putty made key file with freeSSHd. To set the key you shuould either copy the crypted text which appears after generating a key pair from puttygen on top of the program into a normal .txt file and import this file or you generate with freeSSHd a public key saved in a file load this file with puttygen (set the type in the open-window to all files(*.*)) and safe the generated private key in a file you're using to authenticate. Andrwe
|
| Reply with quote |
| |
mono
polo
Postings: 6
New member
|
|
03-12-2008 22:29 |
Hello, I did how you say but it doesnt work. 1) I started putty gen a I generated key pair. 2) I copied public key from "puttygen window" to the file(I tried .txt file and file without suffix too). Name of the file is the same like name of the user which will be login. For example my name: mono(mono.txt). content of my file with pub key(which I iported): ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAIEApjzLtJh1CZKqZAo0CXuyN5x67rRXoWBwAo38YbCRLiVZRmxH6w1L5VIVRud+2FZjPXJZMjLYmhHxpkiuYinc8MwVbEhInM+LQ6WYMP0FYstaZr0hHWimx1i/VTiN27FPlU6RGdjN6DxBdNHKds3UOwui6IDIe82FBA9s5rUn+qk= rsa-key-20081203 I tried get only pub key(without ssh-rsa and rsa-key-20081203 chains) to the file. 3) I loaded this file in Free SSHd... and SSHd always writes:Failed to import key from file What I do wrong? P.S. I need use puttygen - its very important for me.
|
| Reply with quote |
| |
Andrwe
a bit network knowledge
Postings: 25
New member
|
|
04-12-2008 23:29 |
Have you also tried generating a private key with freeSSHd an import the saved file with puttygen?
|
| Reply with quote |
| |
|
| Postings: 1-10 11-20 21-30 31-40 41-50 51-60 61-70 71-80 81-82 |