freedom x security = constant (from a security newsgroup) |
/etc/init.d/ssh start |
ssh-keygen |
/root/.ssh/identity //your private key and /root/.ssh/identity.pub //your public key |
What is the advantage right now??? The passphrase is normally a lot longer than a password!
The advantage you can get using the ssh-agent. It manages the passphrase during ssh login.
ssh-agent |
echo $SSH_AUTH_SOCK and echo $SSH_AGENT_PID |
SSH_AUTH_SOCK=/tmp/ssh-XXYqbMRe/agent.1065 export SSH_AUTH_SOCK SSH_AGENT_PID=1066 export SSH_AGENT_PID |
setenv SSH_AUTH_SOCK /tmp/ssh-XXYqbMRe/agent.1065 setenv SSH_AGENT_PID 1066 |
You just have to add your public-key to the ssh-agent with the ssh-add command.
ssh-add |
You could (should) add the ssh-agent and ssh-add commands in your login-profile e.g.
eval `ssh-agent` ssh-add |
Закладки на сайте Проследить за страницей |
Created 1996-2025 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |