INSTALLED SSH SERVER
CONFIGURED
PubkeyAuthentication yes
AuthorizedKeyFile .ssh/authorized_keys
# Enable only if ssh keys will be working
# PasswordAuthentication no
ChallengeResponseAuthentication no
RELOADED CONFIG
!!! If you want to upload public key to linux, you have to change to linux format, pleas see syntax below. !!!
You can copy public key copry from windows to server by command {this copy to home root directory to .ssh}
pscp your.pub root@serve.neucorp.org:.ssh
Now you have to go to Linux and move your public key to
cd /home/user/.ssh/authorized_keys
cat your.pub » authorized_keys
Now you have to check if is key file have correct syntax. Please see picture
You can copy the public key to other server, run the commands below.
or
!!! If you want to use private key in windows(putty), you have to change to putty format, please use putty gen !!!