Recent Changes - Search:

Softwares

.

AuthenticatingByPublicKeyInOpenSSH

Main.AuthenticatingByPublicKeyInOpenSSH History

Hide minor edits - Show changes to output

May 31, 2006, at 06:07 PM by 210.18.59.46 -
Changed lines 3-9 from:
*Generate key

$mkdir -p
~/.ssh
$chmod 700 ~/.ssh
$cd ~/.ssh
$ssh-keygen -t dsa
to:
*Generate key on client_machine

client_machine$mkdir -p ~/.ssh
client_machine$chmod 700 ~/.ssh
client_machine$cd ~/.ssh
client_machine$ssh-keygen -t dsa
Changed lines 20-22 from:
remote-server$chmod 700 ~/.ssh
remote-server$chmod 600 ~/.ssh/authorized_keys
remote-server$logout
to:
remote_server$chmod 700 ~/.ssh
remote_server$chmod 600 ~/.ssh/authorized_keys
remote_server$logout
May 31, 2006, at 06:06 PM by 210.18.59.46 -
Added lines 1-22:
%blue%To setup public-key authentication between an OpenSSH client and OpenSSH server.

*Generate key

$mkdir -p ~/.ssh
$chmod 700 ~/.ssh
$cd ~/.ssh
$ssh-keygen -t dsa

*Copy the public key to the remote machine.

$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.

*Login to the remote server and make the following changes.

remote-server$chmod 700 ~/.ssh
remote-server$chmod 600 ~/.ssh/authorized_keys
remote-server$logout
Edit - History - Print - Recent Changes - Search
Page last modified on May 31, 2006, at 06:07 PM