Re: ssh : password against keys
From: Bill Unruh (unruh_at_string.physics.ubc.ca)
Date: 12/26/04
- Next message: Juha Laiho: "Re: ssh : password against keys"
- Previous message: Gabriel: "ssh : password against keys"
- In reply to: Gabriel: "ssh : password against keys"
- Next in thread: Juha Laiho: "Re: ssh : password against keys"
- Reply: Juha Laiho: "Re: ssh : password against keys"
- Reply: Mark Schreiber: "Re: ssh : password against keys"
- Reply: Rolf Arne Schulze: "Re: ssh : password against keys"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 26 Dec 2004 00:32:06 GMT
Gabriel <cy_rainchapeau26@yahoo.fr> writes:
>Greetings,
>I'm asking myself if I'm going to user keys instead of passwords to
>access to my linux box through ssh.
>If I have understood things correctly, I just drop the private key on my
>client, the public key on the server and, voila, I can log to my server
>without typing any password.
Yes.
>The problem is the following : my client is a windows Box, a laptop in
>fact. If someone manages to get in my windows Box, he is able to grab
>the key and log to my server from his own machine ?
In general yes. It is possible to protect the private key file with a
password (well , at least under Linux it is and I would assume that under
one of the Windows implimentations it is as well) so that each time you log
on you have to type in the local password to decrypt the local private part
of the public key. Many find this inconvenient -- ie equivalent to just
using password logon with the remote machine. Some implimentations of ssh
keep a copy of the password protecting the private key file in memory so
you need enter it only once at the beginning of the sessions. That has its
own advantages and disadvantages.
>now, on the other hand, If I do not use keys, he has to install some
>keyLogger in order to capture my password when I type it (I did not
>store the password in putty).
Once he has such access to your machine than he can install a keylogger you
are dead in the water anyway. He can then read your private key file and
record the password you use to protect it anyway.
ssh is NOT secure against your own machine being comprimised.
>Seems to me that even if the password flies "through the wire", it is
>more secure.
No. It is neither more or less secure against your machine itself being
comprimised.
>This is no Troll, I'm juste wondering whether it actually worths the
>hassle to install rsa keys on my server :)
I do not, some do.
- Next message: Juha Laiho: "Re: ssh : password against keys"
- Previous message: Gabriel: "ssh : password against keys"
- In reply to: Gabriel: "ssh : password against keys"
- Next in thread: Juha Laiho: "Re: ssh : password against keys"
- Reply: Juha Laiho: "Re: ssh : password against keys"
- Reply: Mark Schreiber: "Re: ssh : password against keys"
- Reply: Rolf Arne Schulze: "Re: ssh : password against keys"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|