warf, did not see that, thanks
i’m now able to log with the rsa key from windows to linux \o/
from opensuse to windows too : but i still need a password, i’m still looking where to store the public key. I have mine in the path of freeSSHd but it seems it’s not enough.
i also tried with mobassh server but can’t find where to store the public key.
On Sun 17 Aug 2014 03:06:01 PM CDT, manchette fr wrote:
warf, did not see that, thanks
i’m now able to log with the rsa key from windows to linux \o/
from opensuse to windows too : but i still need a password, i’m still
looking where to store the public key. I have mine in the path of
freeSSHd but it seems it’s not enough.
i also tried with mobassh server but can’t find where to store the
public key.
Hi
The keys file in the freeSSHd directory must be called (named) the same
as your user login to the windows machine.
If for example you login to the windows machine as fabrice, then the
file needs to be named that.
–
Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
openSUSE 13.1 (Bottle) (x86_64) GNOME 3.10.1 Kernel 3.11.10-21-desktop
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!
This i did, on the windows machine i have users : user and fabrice
the rsa public key in freeSSHd directory is named user too, do i need the private or public key there ?
where is private key supposed to be pasted in windows ? in the same dir ?
in freeSSHd authentication thumb i’d like to disable password and require key but it does not work if set this way , i need to allow both options to be able to access giving the password.
i’d like the key to be used only.
(see below it’s trying private key , and asking password to be able to access )
debug1: Authentications that can continue: password,publickey
debug1: Next authentication method: publickey
debug1: Trying private key: /home/fabrice/.ssh/id_rsa
debug2: we did not send a packet, disable method
debug1: Next authentication method: password
user@192.168.0.10's password:
debug2: we sent a password packet, wait for reply
debug1: Authentication succeeded (password).
ssh user@192.168.0.10
The authenticity of host '192.168.0.10 (192.168.0.10)' can't be established.
...
Warning: Permanently added '192.168.0.10' (RSA) to the list of known hosts.
user@192.168.0.10's password:
X11 forwarding request failed on channel 0
On Sun 17 Aug 2014 05:36:01 PM CDT, manchette fr wrote:
This i did, on the windows machine i have users : user and fabrice
the rsa public key in freeSSHd directory is named user too, do i need
the private or public key there ?
where is private key supposed to be pasted in windows ? in the same dir
?
in freeSSHd authentication thumb i’d like to disable password and
require key but it does not work if set this way , i need to allow both
options to be able to access giving the password.
i’d like the key to be used only.
(see below it’s trying private key , and asking password to be able to
access )
Code:
debug1: Authentications that can continue: password,publickey
debug1: Next authentication method: publickey
debug1: Trying private key: /home/fabrice/.ssh/id_rsa
debug2: we did not send a packet, disable method
debug1: Next authentication method: password
user@192.168.0.10’s password:
debug2: we sent a password packet, wait for reply
debug1: Authentication succeeded (password).
Code:
ssh
user@192.168.0.10 The authenticity of host ‘192.168.0.10
(192.168.0.10)’ can’t be
established. … Warning: Permanently added ‘192.168.0.10’ (RSA) to the
list of known hosts. user@192.168.0.10’s
password: X11 forwarding request failed on channel 0
Hi
And on the FreeSSHd ‘Users’ user is added? On the SSH tab rsa and dsa
keys have been generated?
–
Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
openSUSE 13.1 (Bottle) (x86_64) GNOME 3.10.1 Kernel 3.11.10-21-desktop
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!
hi,
i have already a ‘user’ in the users tab but i have not generated any key with freeSSHd . I have generated keys (public and private) with the client (puttygen).
Isn’t it ok ?
On Mon 18 Aug 2014 08:46:01 AM CDT, manchette fr wrote:
hi,
i have already a ‘user’ in the users tab but i have not generated any
key with freeSSHd . I have generated keys (public and private) with the
client (puttygen).
Isn’t it ok ?
Hi
No, the server daeon needs it’s own
–
Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
openSUSE 13.1 (Bottle) (x86_64) GNOME 3.10.1 Kernel 3.11.10-21-desktop
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!
Actually some keys are already shown in the ssh tab, are they the public keys ? (C:\Program Files\freeSSHd\RSAKey.cfg and C:\Program Files\freeSSHd\DSAKey.cfg)
Do i need to generate both private keys (you mentionned RSA and DSA ) ?
Where is this private key to be used then, so that key access will work from openSUSE ?
On Mon 18 Aug 2014 01:06:01 PM CDT, manchette fr wrote:
Actually some keys are already shown in the ssh tab, are they the public
keys ? (C:\Program Files\freeSSHd\RSAKey.cfg and C:\Program
Files\freeSSHd\DSAKey.cfg)
Do i need to generate both private keys (you mentionned RSA and DSA ) ?
Where is this private key to be used then, so that key access will work
from openSUSE ?
Hi
As long as the keys were generated you should be fine.
Here is the debug output from my connection to it.
http://paste.opensuse.org/ec1df472
I’m wondering if the id_rsa.pub file is corrupted… if you use
something like winscp to re-copy the id_rsa.pub file into the freeSSHd
directory. Copy it to the correct user name before copying, so you
don’t need to touch it with a windows editor…
–
Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
openSUSE 13.1 (Bottle) (x86_64) GNOME 3.10.1 Kernel 3.11.10-21-desktop
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!