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”
浙公网安备 33010602011771号