Re: ssh-agent startup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Dec 26, 2008 at 4:41 AM, Guillaume <guillaume.chardin@xxxxxxxxx> wrote:
> Hi,
> For now, when I  want to use ssh-agent, i have to open a shell, and then use
> this command 'ssh-agent /bin/bash' to be able to use the ssh-agent
> fonctionnality.
>
> I would like to know if there is a tip to start ssh-agent at user login.
> Like editing /etc/passwd an adding in the "shell field" /usr/bin/ssh-agent
> /bin/bash like that :
>               ***/etc/passwd***
>               user:x:500:500::/home/user:/usr/bin/ssh-agent /bin/bash
>
> And by the way avoiding multi nested bash execution, avoid user to type this
> command or multiple edit/modify of .bashrc of all my users.
>
> thanks for your help.
>
> --
> Guillaume

Boot the system in Run Level 3.
After you login in text mode run
     $ ssh-agent `exec startx`
The dollar sign is the user prompt. Use backticks.

This makes the agent available to the entire user environment. Load your
keys and you're good to go.
~af

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux