Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Jan 2005
    Posts
    9

    Default Change the SSH port?

    I've changed the ssh port on my server, but I can't connect to that port from work (firewall blocks pretty much everything). I was trying to connect to ssh through cPanel (SSH/Shell Access), but it's trying to connect on port 22. Is there a way to change the port that cPanel uses to connect to something else?

  2. #2
    Member
    Join Date
    Jul 2002
    Location
    Canada
    Posts
    675

    Default

    Edit the /etc/ssh/sshd_config file and change the port listed.
    Upload Guardian 2.0 - Sign up for our early beta
    ServerProgress - Server security, consulting and assistance

  3. #3
    Member
    Join Date
    Jan 2005
    Posts
    9

    Default

    Right, I've done that already. ssh is working just fine on the different port.

    But, when I try to connect via cPanel (using the SSH/Shell Access function) it goes to port 22.

  4. #4
    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
    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

  5. #5
    Member
    Join Date
    Jan 2005
    Posts
    9

    Default

    That's just what I'm looking for, thanks.

    I searched but didn't come across that thread.

Similar Threads & Tags
Similar threads

  1. How to change SSH login port, How to change SSH login port
    By Pvnallly in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 06-17-2011, 01:56 AM
  2. Change SSH Port
    By polkocholo in forum Security
    Replies: 9
    Last Post: 03-19-2011, 01:44 AM
  3. Change SSH port
    By ptez in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 06-11-2006, 12:08 AM
  4. Can't change SSH port???
    By GrAfiX in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 03-11-2006, 10:52 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube