Project

General

Profile

Feature #6820

Update OpenSSH to 7.2p2

Added by r a about 5 years ago. Updated about 5 years ago.

Status:
Resolved
Priority:
Normal
Category:
-
Target version:
-
Start date:
2016-03-26
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

When attempting to connect to multiple servers using SSH, the version supplied with OpenIndiana does not support the default encryption types. Instead of changing all the other servers to support OpenIndiana can the version be upgraded to support the higher levels of encryption

#1

Updated by r a about 5 years ago

I downloaded OpenSSH 7.2p2 source from one of the OpenSSH mirror sites (see below) and compiled it on OpenIndiana Hipster latest (ran pkg update on 24th March) using gcc 4.8

http://mirror.ox.ac.uk/pub/OpenBSD/OpenSSH/portable/openssh-7.2p2.tar.gz
http://mirror.ox.ac.uk/pub/OpenBSD/OpenSSH/portable/openssh-7.2p2.tar.gz.asc

$ CC=gcc ./configure --prefix=/opt/gnu

/tmp/openssh-7.2p2$ ldd ./ssh
libresolv.so.2 => /lib/libresolv.so.2
libcrypto.so.1.0.0 => /lib/libcrypto.so.1.0.0
libnsl.so.1 => /lib/libnsl.so.1
libz.so.1 => /usr/lib/libz.so.1
libsocket.so.1 => /lib/libsocket.so.1
libssp.so.0 => /usr/lib/libssp.so.0
libc.so.1 => /lib/libc.so.1
libmd.so.1 => /lib/libmd.so.1
libdl.so.1 => /lib/libdl.so.1
libmp.so.2 => /lib/libmp.so.2
libm.so.2 => /lib/libm.so.2

#2

Updated by r a about 5 years ago

OpenSSH 7.2p2 can be built as a native 64 bit executable using the following command

$ CC=gcc CFLAGS=-m64 LDFLAGS=-m64 ./configure --prefix=/opt/gnu

When performing a gmake install the installation process requires that a seperate sshd user exist for the installation to exist.

#3

Updated by Alexander Pyhalov about 5 years ago

We use a lot of patches. Our OpenSSH is based on https://github.com/joyent/illumos-extra/tree/master/openssh/. It will be updated as soon as upstream updates it.

#4

Updated by Alexander Pyhalov about 5 years ago

  • Subject changed from Can SSH be upgraded to OpenSSH 7.2p2 to Update OpenSSH to 7.2p2
#5

Updated by Alexander Pyhalov about 5 years ago

  • Status changed from New to Resolved
  • Assignee set to Alexander Pyhalov

Also available in: Atom PDF