title: How to put public key in sftp server from linux machine?
body: <p>I have a sftp server on linux machine A and I want to access it via password-less authentication to connect from machine B. So I created a ssh key pair on machine B but I'm not sure how to copy that pub-key to the sftp server. Both machines are centos7 machines. Can someone please shed some light on how to copy a file to the sftp server with a command or script that will allow password-less authentication to the sftp server (server A)? </p>