空地

生活,工作,记录(内容基本都是转载,自己工作用到的时候看看而已)

导航

Make current machine login to our server ‘test’ passwordless.

1.      Make current machine login to our server ‘test’ passwordless.

a)        Open the command-line window of cygwin,

b)        In current default home of cygwin, type “ssh-keygen -t dsa”, directly type key ‘Enter’ to the following alert message without any change.

    An authorized key will be found in ‘.ssh/id_dsa.pub’;

c)        scp .ssh/id_dsa.pub user@test:/tmp

d)        ssh user@test "cat /tmp/id_dsa.pub >> ~/.ssh/authorized_keys"

e)        Verify that it is passwordless when type “ssh user@test”


posted on 2009-08-05 14:21  小梅  阅读(78)  评论(0)    收藏  举报