Robert P. J. Day
2010-Oct-07 11:29 UTC
[CentOS-docs] update HOWTO page for how to copy ssh pub keys
here: http://wiki.centos.org/HowTos/Network/SecuringSSH the recipe for how to copy your id_rsa.pub file to a remote system is given as: "Copy the public key (id_rsa.pub) to the server and install it to the authorized_keys list: $ cat id_rsa.pub >> ~/.ssh/authorized_keys" i suspect it would be better if that were rewritten in terms of using ssh-copy-id, just to be simpler and less error-prone. rday -- =======================================================================Robert P. J. Day Waterloo, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn: http://ca.linkedin.com/in/rpjday ========================================================================
Ned Slider
2010-Oct-07 11:43 UTC
[CentOS-docs] update HOWTO page for how to copy ssh pub keys
On 07/10/10 12:29, Robert P. J. Day wrote:> > here: > > http://wiki.centos.org/HowTos/Network/SecuringSSH > > the recipe for how to copy your id_rsa.pub file to a remote system is > given as: > > "Copy the public key (id_rsa.pub) to the server and install it to the > authorized_keys list: > > $ cat id_rsa.pub>> ~/.ssh/authorized_keys" > > i suspect it would be better if that were rewritten in terms of > using ssh-copy-id, just to be simpler and less error-prone. > > rday >Thanks for volunteering :-) Please submit your proposed changes to this list and we can make it happen.
Dag Wieers
2010-Oct-07 11:53 UTC
[CentOS-docs] update HOWTO page for how to copy ssh pub keys
On Thu, 7 Oct 2010, Robert P. J. Day wrote:> here: > > http://wiki.centos.org/HowTos/Network/SecuringSSH > > the recipe for how to copy your id_rsa.pub file to a remote system is > given as: > > "Copy the public key (id_rsa.pub) to the server and install it to the > authorized_keys list: > > $ cat id_rsa.pub >> ~/.ssh/authorized_keys" > > i suspect it would be better if that were rewritten in terms of > using ssh-copy-id, just to be simpler and less error-prone.Remember that this was likely written for CentOS 4, which did not have that tool as part of openssh. So we might want to provide an option for both cases ? -- -- dag wieers, dag at wieers.com, http://dag.wieers.com/ -- [Any errors in spelling, tact or fact are transmission errors]