You are here: Home Linux Basics SSH connection without enter the password
Search
Advanced Search…
E-Mail

Webmail: webmail.wyden.com

E-Mail Preferences: postfix.wyden.com/users

E-Mail Administration: postfix.wyden.com

Statistics
Total: 463
Total Pages: 284
Total Folders: 87
Total Files: 18
Total Links: 26
Last modification: 03.02.2012 16:00
 

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.