Using ssh-copy-id with a non-standart port.
Issue
ssh-copy-id installs an SSH key on a server as an authorized key. Its purpose is to provision access without requiring a password for each login. This facilitates automated, password-less logins and single sign-on using the SSH protocol.
The ssh-copy-id tool is part of OpenSSH.
Key based authentication in SSH is called public key authentication. The purpose of ssh-copy-id is to make setting up public key authentication easier.
Environment
Red Hat Linux Enterprise 6.X
Red Hat Linux Enterprise 7.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
