The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

SSH keys and jailshell

Discussion in 'General Discussion' started by Crundy, Aug 28, 2005.

  1. Crundy

    Crundy Active Member

    Joined:
    Oct 9, 2003
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    1
    Hello,
    I have two cpanel accounts on two separate machines (one main server, one backup), and I want to rsync my account on the main machine to the backup one. Problem is, I can't for the life of me get server1 to connect to server2 using ssh keys (to automate the rsync without prompting for a password). I contacted my host support who said this was a limitation with jailshell, and they enabled bash on my account while they see what they can do.

    The ssh keys work OK now the main server account is using bash instead of jailshell, but considering this is effectively a temporary solution I was wondering if anyone had this problem before and came up with a solution short of using an expect script?
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    I've only ever got something like that working with a bash shell. The jailshell is too restrictive for that.
     
Loading...

Share This Page