[LinuxUsers] SSH Public Key Authenticatio
Paul Saenz
downtoearthman at hotmail.com
Sat Nov 22 04:50:27 UTC 2008
Using Peter Manis' tutorial on Public Key authentication at URL:
http://pyverted.com/sysadmin/ssh-public-key-authentication/2008/10/
I was able to get SSH up and running with a public key authentication
on my friend sam's computer. Everything worked great.
I did not execute the commands:
exec ssh-agent /bin/bash
ssh-add
until the next day, when I realized that I had not done
it the day before. The two computers were not connected
when I executed these commands. I am assuming that these
commands can be executed on the local machine only, and
the remote machine doesn't need to know about them.
am I correct.
also, when I did the command:
sudo /etc/init.d/sshd reload
bash reported: "command not found"
nevertheless, I want the 2 features that this command provides,
which are:
1. Removes the ability to login to the server with a password, you can only login to the server using a public key.
2. Limit the machine that you can login from. The remotemach must
have the key for the localmach in the authorized_keys file before
authentication can be performed.
Is there something I can to to configure these features, or is there a way to addthese commands to my bash commands?Thanks
_________________________________________________________________
Access your email online and on the go with Windows Live Hotmail.
http://windowslive.com/Explore/Hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_access_112008
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://socallinux.org/pipermail/linuxusers/attachments/20081121/1edcff28/attachment.htm>
More information about the LinuxUsers
mailing list