Softwares ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Main /
AuthenticatingByPublicKeyInOpenSSHTo setup public-key authentication between an OpenSSH client and OpenSSH server.
client_machine$mkdir -p ~/.ssh client_machine$chmod 700 ~/.ssh client_machine$cd ~/.ssh client_machine$ssh-keygen -t dsa
$scp -p id_dsa.pub user@remote_server:/home/user/.ssh/authorized_keys Password p Preserves modification times, access times, and modes from the original file.
remote_server$chmod 700 ~/.ssh remote_server$chmod 600 ~/.ssh/authorized_keys remote_server$logout |