SSH connection without enter the password
by
Wyden Silvan
—
last modified
17.11.2009 14:03
Aim: The client will login without enter the password to the server
With the client:
ssh-keygen -t rsa -b 1024
Speicherort eingeben (bspw. .ssh/ida_rsa)
Don't enter a password!
Copy the file ida_rsa.pub to the server:
scp ~/.ssh/ida_rsa.pub user@server:~/.ssh/ida_rsa.client
With the server:
Add the key from the client:
cat ~/.ssh/ida_rsa.client >> ~/.ssh/authorized_keys
That's all. Now you can login from the client to the server with ssh user@server without entering a password.
