Support Questions

Find answers, ask questions, and share your expertise
Check out our newest addition to the community, the Cloudera Data Analytics (CDA) group hub.

HDP 2.3 - SSH Login : How to copy authorized keys into local laptop ?


After referring this link

I have generated ssh key , but to copy that keys to local desktop/laptop it requires permission ,

I need access through winscp/fileZilla to copy from sandbox to desktop

How to do that ?


Super Mentor

@Satish Anjaneyappa

In Linux based environments you can copy the authorized keys to the other hosts using the following command:

 ssh-copy-id -i  /PATH/TO/YOUR/.ssh/
 ssh-copy-id -i  /PATH/TO/YOUR/.ssh/
 ssh-copy-id -i  /PATH/TO/YOUR/.ssh/


In windows you might try an alternative approach of "ssh-copy-id" as described in the following link:


The other easy approach will be to manually copy ans paste the content of the "/PATH/TO/YOUR/.ssh/" file to the ".ssh/authorized_keys" of the desired host.




Hi Jay,

I tried ssh-copy-id -I from centos to windows for copying authorized keys .. But its saying connection refused . attached screenshot for reference

Any other alternatives ?

Appreciate your help .


@ Satish

Change your network settings to NAT and then try.

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.