Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Jul 2002
    Posts
    93

    Default SSH webclient connect port

    Where in the cpanel configs can I change the port the SSH java client will attempt to connect to? I moved the SSHD to listen on a high port, but i can't seem to find where cpanel is passing the"22" to the web SSH client.

    Thanks.

    cPanel.net Support Ticket Number:

  2. #2
    Member
    Join Date
    Sep 2003
    Posts
    389

    Default RE: SSH webclient connect port

    Dear myrem,

    Change the ssh port in the file /etc/ssh/sshd_config and restart sshd.

    Regards,

  3. #3
    Registered User
    Join Date
    Nov 2003
    Posts
    3

    Default

    I'm looking for the answer to this and noticed it wasn't really answered... so, I'll rephrase the original persons question

    After changing the ssh port in sshd_config, where in the cpanel files does one change the webclient so that when a client goes into the ssh portion of cpanel it'll use the correct port. The javaclient cpanel uses defaults to 22, and I can't find where to change that...

  4. #4
    Registered User
    Join Date
    Nov 2003
    Posts
    3

    Default

    nevermind...

    /usr/local/cpanel/java-sys/ssh-cp.conf

    Change

    Socket.Port = 22

    to the new port.

    It also doesn't appear to work if you turn change protocol 2,1 in sshd_config to protocol 2 only... Guess the java client uses 1... dunno...

Similar Threads & Tags
Similar threads

  1. Cannot connect to port 25! (SMTP)
    By SnakeO in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 01-11-2011, 09:16 PM
  2. 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, 11:57 PM
  3. Can't connect to port 2087!
    By digdoug in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 04-08-2008, 02:07 PM
  4. changed ssh port - cant login on new port
    By 4u123 in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 03-21-2006, 11:02 AM
  5. Custom ssh port for CPanel SSH client
    By yaax in forum cPanel and WHM Discussions
    Replies: 13
    Last Post: 10-24-2004, 01:22 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube