Find the answer to your Linux question:
Results 1 to 3 of 3
Hi all, Ubuntu 1010 server 64bit Chroot users with OpenSSH Chroot users with OpenSSH: An easier way to confine users to their home directories | TechRepublic Code: With the release ...
  1. #1
    Linux Guru
    Join Date
    Sep 2004
    Posts
    1,546

    Version of installed openssh

    Hi all,

    Ubuntu 1010 server 64bit

    Chroot users with OpenSSH
    Chroot users with OpenSSH: An easier way to confine users to their home directories | TechRepublic

    Code:
    With the release of OpenSSH 4.9p1, you no longer have to rely on third-party hacks or complicated chroot setups to confine users to their home directories or give them access to SFTP services ......
    # aptitude versions openssh-server
    Code:
    p   1:5.5p1-4ubuntu4                                                          maverick                                               500 
    i   1:5.5p1-4ubuntu6                                                          maverick-updates
    # aptitude versions openssh-client
    Code:
    p   1:5.5p1-4ubuntu4                                                          maverick                                               500 
    i   1:5.5p1-4ubuntu6                                                          maverick-updates
    Do I need to install third party hacks such as "Jailkit"? TIA


    B.R.
    satimis

  2. #2
    drl
    drl is offline
    Linux Engineer drl's Avatar
    Join Date
    Apr 2006
    Location
    Saint Paul, MN, USA / CentOS, Debian, Solaris, SuSE
    Posts
    1,117
    Hi.

    Package manager versions may be fomatted differently from program versions:
    Code:
    $ cat /etc/issue
    Ubuntu 11.10 \n \l
    
    $ apt-cache policy openssh-server
    openssh-server:
      Installed: 1:5.8p1-7ubuntu1
      Candidate: 1:5.8p1-7ubuntu1
      Version table:
     *** 1:5.8p1-7ubuntu1 0
            500 http://us.archive.ubuntu.com/ubuntu/ oneiric/main amd64 Packages
            100 /var/lib/dpkg/status
    
    $ ssh -V
    OpenSSH_5.8p1 Debian-7ubuntu1, OpenSSL 1.0.0e 6 Sep 2011
    So, version 5.8, but package manager added prefix "1:".

    Best wishes ... cheers, drl
    Welcome - get the most out of the forum by reading forum basics and guidelines: click here.
    90% of questions can be answered by using man pages, Quick Search, Advanced Search, Google search, Wikipedia.
    We look forward to helping you with the challenge of the other 10%.
    ( Mn, 2.6.n, AMD-64 3000+, ASUS A8V Deluxe, 1 GB, SATA + IDE, Matrox G400 AGP )

  3. #3
    Linux Guru
    Join Date
    Sep 2004
    Posts
    1,546
    Quote Originally Posted by drl View Post
    Hi.

    Package manager versions may be fomatted differently from program versions:
    Code:
    $ cat /etc/issue
    Ubuntu 11.10 \n \l
    
    $ apt-cache policy openssh-server
    openssh-server:
      Installed: 1:5.8p1-7ubuntu1
      Candidate: 1:5.8p1-7ubuntu1
      Version table:
     *** 1:5.8p1-7ubuntu1 0
            500 http://us.archive.ubuntu.com/ubuntu/ oneiric/main amd64 Packages
            100 /var/lib/dpkg/status
    
    $ ssh -V
    OpenSSH_5.8p1 Debian-7ubuntu1, OpenSSL 1.0.0e 6 Sep 2011
    So, version 5.8, but package manager added prefix "1:".

    Best wishes ... cheers, drl
    Hi drl,

    # cat /etc/issue
    Code:
    Ubuntu 10.10 \n \l
    # aptitude versions openssh-server
    Code:
    p   1:5.5p1-4ubuntu4                              maverick                  500 
    i   1:5.5p1-4ubuntu6                              maverick-updates          500
    Thanks

    B.R.
    satimis

Posting Permissions

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