Link to home
Start Free TrialLog in
Avatar of Rohit Bajaj
Rohit BajajFlag for India

asked on

Convert an SSH login to key based

Hi
Suppose i have an ssh set as username and password and not key based.
what are the disadvantages of that ?
What i see is anyone who has my username and password can access the machine.
whereas if i set a key based setup then even if someone has my username and password he wont be able to do it.

Is that understanding correct ?
There are some machines which has ssh setup with user and password.
How to convert it to key based + password authentication ?

Thanks


ASKER CERTIFIED SOLUTION
Avatar of skullnobrains
skullnobrains

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of skullnobrains
skullnobrains

errata :
i mentioned "sshkey" to generate the key. the actual command is ssh-keygen. sorry for writing too fast.