Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Oct 2003
    Posts
    29

    Default SSH keys and jailshell

    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. #2
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    I've only ever got something like that working with a bash shell. The jailshell is too restrictive for that.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

Similar Threads & Tags
Similar threads

  1. SSH Keys
    By GoWilkes in forum cPanel and WHM Discussions
    Replies: 14
    Last Post: 09-04-2011, 10:48 AM
  2. SSH using Keys
    By taylordouglas in forum Security
    Replies: 2
    Last Post: 05-24-2010, 12:43 AM
  3. How to connect in SSH after create key in Manage SSH Keys
    By konrath in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 07-03-2009, 10:57 PM
  4. SSH Keys
    By jhyland87 in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 06-13-2009, 09:40 AM
  5. SSH Keys How-TO ?Help?
    By Mysteerie in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 12-23-2007, 11:22 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube