Re: Adding XDG BDS paths *as fallbacks only*, not replacing ~/.ssh

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

 



On 02/02/2024 15:25, 90 wrote:
to relocate the entire directory to one XDG-compliant path if the
user chooses to do so?

How about this?

mv ~/.ssh $XDG_DATA_HOME/ssh
ln -s $XDG_DATA_HOME/ssh ~/.ssh

This has the added advantage of not having to remember to set an environment variable in every shell (and which might be dropped by utilities like "sudo")
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev



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

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux