Community Forums
Connect with us on LinkedIn
  
+ Reply to Thread
Results 1 to 9 of 9
  1. #1
    Member
    Join Date
    Aug 2001
    Posts
    164

    Default ssh2

    Are there any plans to have a ssh2 daemon running on cpanel servers?

  2. #2
    Member
    Join Date
    Aug 2001
    Posts
    124

    Default

    hmm. I connect via SSH2 to my cpanel servers every day. I'm not sure what you mean?!?!?!?

  3. #3
    Member
    Join Date
    Aug 2001
    Posts
    164

    Default

    Oh ok.. I thought that only ssh1d was listening and not ssh2. I will try using ssh2.

  4. #4
    Member
    Join Date
    Aug 2001
    Posts
    839

    Default

    The ssh daemon on these machines is the build of a version of OpenSSH that listens for both protocol types.... one and two. All by default.

    By default it allows root logins as well, on both protocols- that's basically the only major shortcoming as long as you keep up to date with patches and vital new releases.
    ..............................


    http://www.fastservers.net/

    travis@fastservers.net
    ..............................

  5. #5
    Member
    Join Date
    Aug 2001
    Posts
    164

    Default

    Thanks Travis.

  6. #6
    Member
    Join Date
    May 2002
    Posts
    29

    Default Try This re root login and ssh1

    If you want to disable root login to your server, do the following:

    [root]# pico /etc/ssh/sshd_config[RETURN]

    Press [CTRL-W] then type 'PermitRoot' and press [RETURN]. Change:

    PermitRootLogin yes

    to:

    PermitRootLogin no

    This change means that you will not be able to directly login to your server via SSH as 'root', so you will have login as admin then 'su -' to root. This is because when you first connect, the connection is not encrypted until you have completed logging in. This ensures that nobody can 'sniff' on the network for your root password.

    The following is an extract from the top of the same file. If you delete the number 1 from the Protocol entry ssh1 access to your server will be disabled.



    # $OpenBSD: sshd_config,v 1.48 2002/02/19 02:50:59 deraadt Exp $

    # This is the sshd server system-wide configuration file. See sshd(8)
    # for more information.

    # This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin

    # The strategy used for options in the default sshd_config shipped with
    # OpenSSH is to specify options with their default value where
    # possible, but leave them commented. Uncommented options change a
    # default value.

    #Port 22
    Protocol 2,1



    John

  7. #7
    Member SBS2003's Avatar
    Join Date
    Aug 2004
    Posts
    20

    Default Way over my head

    That last post went way over my head but it sounds exactly what I want to do.

    Here is want I am looking for -disable root access but I need to still be able to get to root (obviously) with SSH.

    SSH1 needs to be disabled (from what I hear there are security concerns.)

    I am pretty darn ignorant when it comes to command line stuff (I am an old DOS guys - not UNIX.)

    Can someone please explain the steps for a dummy like me.

    Greatly appreciated!

    Thanks!

    Mark

  8. #8
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Jun 2003
    Posts
    647

    Default

    I would not advise making changes to your SSH configuration file blindly, one mistake and you lock yourself out of your server.

    Ask your DC to do it, as they probably know what they are doing

    It's one of those things you shouldn't do if you're not familar.

  9. #9
    Member SBS2003's Avatar
    Join Date
    Aug 2004
    Posts
    20

    Default Good Advice

    Actually really good advice. I pay for managed hosting anyway - they should earn their pay (Just kidding, they do great.)

    I would hate to lock myself out of my server - that wouldn't be fun.

    Thanks again,

    Mark

Similar Threads & Tags
Similar threads

  1. SSH2 for Apache/PHP ?
    By prooi in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 04-16-2011, 08:54 AM
  2. Ssh2 Php Error
    By Arsenico in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 11-08-2007, 05:47 PM
  3. SSH2 php Module
    By kenped in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 06-03-2007, 03:22 PM
  4. SSH2 Module Installation?!
    By mss6 in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 06-27-2005, 10:48 AM
  5. BIND Static IP to SSH2
    By ricoche in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 05-22-2005, 11:53 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube