|
发表于 2006-4-20 21:20:14
|
显示全部楼层
1. under your home .ssh dir, you can run ssh-keygen -t dsa to generate a pair of ssh key. One is the public key which you can distribute out. (The other is your secret key you need to keep it).
2. copy the contents of the pub key to the server you want to logon. Under the login user home dir, there is also a .ssh dir. you can create a file named authorized_keys and paste the contents of your pub key to this file.
3. Once you get all this done, you should just login without password. |
|