Common shared home directory

From: Christian Pruett (christianpruett_at_hotmail.com)
Date: 05/21/03

  • Next message: hilbert: "Using ssh-agent for passwordless ssh login from Windows XP to Linux"
    Date: 21 May 2003 09:26:59 -0700
    
    

    I have a Unix system that has two userids with a common home
    directory. These two userids need to both use ssh for communication.
    Is there any way to specify two unique home directories or key files
    so that the userids can use ssh? If it helps, the userids can have
    the same keys. Here are the ways I have thought about making it work:

    --Two ssh directories, such as $HOME/.ssh_user1 and $HOME/.ssh_user2.
    Is there a flag for setting up directories in this manner?

    --One common key readable that can be used by both userids in a common
    .ssh directory. The problem I see here is a matter of permissions as
    ssh doesn't like promiscuous permissions (660 for the directory) and
    ownership of the key (who would own the key?).

    --One common .ssh directory with two keys, such as
    $HOME/.ssh/authorized_keys_user1 and $HOME/.ssh/authorized_keys_user2.
     I would think that ssh would not like looking for keys with unusual
    names, plus there is still a concern with permissions for the .ssh
    directory.

    Anyone have any insight? I scoured the archives and couldn't find any
    good answer. Thanks in advance.

    --Christian


  • Next message: hilbert: "Using ssh-agent for passwordless ssh login from Windows XP to Linux"

    Relevant Pages

    • Re: Common shared home directory
      ... >>I have a Unix system that has two userids with a common home ... These two userids need to both use ssh for communication. ... > UID would be set to the appropriate account. ...
      (comp.security.ssh)
    • Re: Attempt of being hacked -- protection?
      ... Common stuff for people running sshd. ... Nothing to panic over if you have *strong* passwords. ... also limit SSH logins to some non-superuser account, and su or sudo if you ... Move your SSH port to something uncommon. ...
      (comp.os.linux.security)
    • Re: Diffie-Hellman Key Exchange
      ... It is used by no. of protocol suites like SSH, ... random number as a power to raise the common number. ... Where can I get openSSH User guide?? ... Mahindra policy statement, ...
      (SSH)
    • Re: possible hack thoughts please
      ... Those ssh scans are very common these days. ... one way to do this is build a fresh install with up to date software and ... just punch the reset button and your system comes back up guaranteed clean. ...
      (comp.os.linux.security)
    • Way to make an ssh tunnel be the "default router"
      ... I am, however, allowed to ssh to a "common" ... computer that has access to the Intranet. ... I would like to create an ssh connection between my computer and the ... I have been successful at using port forwarding with ssh to forward a ...
      (comp.os.linux.networking)