Results 1 to 2 of 2

Thread: ssh protocol

  1. #1
    Join Date
    Sep 2013
    Beans
    20

    ssh protocol

    What version of ssh (protocol) to use ubuntu 10.04 (1, 2, or both)?
    Where is the file protocol layer is defined? In the same file (ubuntu 10.04), the setting PermitRootLogin yes PermitRootLogin should be changed to no. Why do you think this should be treated?

  2. #2
    Join Date
    Sep 2006
    Beans
    8,627
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: ssh protocol

    Are you talking 10.04 for the server or the desktop? For the desktop, support ended on May 9, 2013 and it would be best if you upgrade to a supported version. Protocol is set in /etc/ssh/sshd_config with the directive Protocol. Recent versions of sshd use only protocol 2 and you should retrofit your old systems to use only 2 as well. In practice, I am fairly sure that no one has been using older versions for the last 10 years.

    About the PermitRootLogin misconfiguration. It should be set to no or at least without-passwordor forced-commands-only. But really it should not be allowed. sudo, even for scripts, is preferable. It is possible to use sudo even with "passwordless" key logins, it just requires some tuning. IMHO no should be the default in Ubuntu. If you file a bug on that, post it here so we can add to it.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •