Am Dienstag, Februar 07, 2017 14:27 CET, "Carlos E. R."
How does one transfer ssh keys to a server that does not allow passwords?
In this case, ssh-copy-id won't work. There is no option which says "install key on behalf of". Google and Stackoverflow also don't recomment any short cuts. You'll have to write your own small script which: - Create the .ssh/ folder - chown 700 .ssh - chmod <user> .ssh - touch .ssh/authorizes-keys - chown 600 .ssh/authorizes-keys - chmod <user> .ssh/authorizes-keys - Append public key to .ssh/authorizes-keys Regards, -- Aaron "Optimizer" Digulla a.k.a. Philmann Dark "It's not the universe that's limited, it's our imagination. Follow me and I'll show you something beyond the limits." http://blog.pdark.de/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org