posted 14 years ago
windows is source machine.
I need copy files from windows to linux.
In windows I set up cygwin and ssh , and run" ssh-keygen -t rsa" to id_rsa.pub and id_rsa.
Then copy the file id_rsa.pub to linux ~/.ssh directory.(here I use wincp)
in the linux ~/.ssh directory I create authorized_keys file and type the command " cat id_rsa.pub >> authorized_keys"
Then in the linux machine, I run
it return the error :ssh: connect to host 9.123.*.*port 22: Connection refused
Can anybody tell me the answer or solution.
Thanks very much.