ssh: automatical login configuration

Luqman luqman_ngs at gmx.net
Mon Oct 9 15:34:20 UTC 2006


>> On the following page (unfortunately it is just in German language),
>> the author mentions ssh-agent that stores passphrase in local memory for
>> a certain period of time.
>> 
>> http://www.hrz.uni-dortmund.de/S3/sicherheit/ssh-einrichtung/node10.html
>> 
>> I was thinking of something of that kind. But could not make out how
>> exactly it works.
>> 
>> Anyhow, an empty passphrase will be my choice if that deos not work.
>> 
>
>If you are using a terminal in X in Ubuntu, and not a virtual console 
>(ssh-agent is started automatically in Ubuntu upon starting X), you just 
>need to run ssh-add, which will ask you for your passphrase, and will 
>then allow you to use ssh without the passphrase.
>
>If ssh-agent isn't running for some reason, you need to start it before 
>running ssh-add. To do this, run ssh-agent, and then set the environment 
>    variables that it outputs (eg ssh-agent > ~/.sshagentenv ; . 
>~/.sshagentenv)

That worked fine for me. Now I am running ssh with passphrase and am
employing ssh-add for passphrase storage.

Cheers,

-- 
Luqman
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 191 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20061009/efbc1380/attachment.sig>


More information about the ubuntu-users mailing list