Friday, 12 September 2014
HowTo: Install or Upgrade Base OpenSSH for FreeBSD
Different methods to get the base installation of OpenSSH to be upgraded or installed.
### PORTS ###
from ports:
cd /usr/ports/security/openssh-portable
make UPDATE_INTREE_OPENSSH=yes
make install
make clean
### OR ###
for OpenSSL:
for OpenSSL:
cd /usr/ports/security/openssl
make -DOPENSSL_OVERWRITE_BASE install
openssl version
for OpenSSH:
cd /usr/ports/security/openssh-portable
make -DOPENSSH_OVERWRITE_BASE=yes install
sshd -V
### PORTUPGRADE ###
for portinstall or portupgrade, prepare the MAKE_ARGS in /usr/local/etc/pkgtools.conf:
Look for an empty MAKE_ARGS and add the following to look like this:
vi /usr/local/etc/pkgtools.conf
Look for an empty MAKE_ARGS and add the following to look like this:
MAKE_ARGS = {
'security/openssl' => 'OPENSSL_OVERWRITE_BASE=yes',
'security/openssh-portable' => 'OPENSSH_OVERWRITE_BASE=yes',
}
using portinstall:
portinstall -rRm "OPENSSH_OVERWRITE_BASE=yes" /usr/ports/security/openssh-portable/
using portupgrade:
portupgrade -rR openssh-portable-overwrite-base
Friday, 5 September 2014
Subscribe to:
Posts (Atom)