Skip to main content

SSH Key for multiple users

Comments

3 comments

  • cPRex Jurassic Moderator
    Hey there! I don't see why you couldn't do this, although there wouldn't be a tool in cPanel or WHM to provide this functionality. You'd need to manually place the key in each user's /home/username/.ssh directory, and then make sure the key file also has the correct ownership of the cPanel user, but that's all that would be required to get that working.
    0
  • Ramon Pego
    so it's not a good thing to do ? cause if i do like you say copying into .ssh directory for e new user i can do with a single script for each new one
    0
  • cPRex Jurassic Moderator
    I think it's a fine thing to do, we just don't provide a tool that would distribute the key across the accounts as it's not a very common scenario.
    0

Please sign in to leave a comment.