Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

SSH keys and jailshell

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

  1. Crundy

    Crundy Active Member

    Oct 9, 2003
    Likes Received:
    Trophy Points:
    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 Verifed Vendor

    Jun 15, 2002
    Likes Received:
    Trophy Points:
    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.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice