0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Openssh ソースコンパイル

Last updated at Posted at 2020-02-09

経緯

Centos6系で稼働してるOpensshをバージョンアップする必要があり
手順について調べた時のメモ。

環境

  • OSバージョン:Centos6.2
  • Openssh(変更前):openssh-5.6以前

openssh ソースコンパイル手順

▼ openssh-8.1p1.tar.gzをダウンロード
# cd /opt
# curl -O http://ftp.jaist.ac.jp/pub/OpenBSD/OpenSSH/portable/openssh-8.1p1.tar.gz

▼ openssh-8.1p1をコンパイル
# tar zxvf openssh-8.1p1.tar.gz
# cd openssh-8.1p1
./configure \
--with-ssl-dir=/etc/ssl \
--with-ssl-engine \
--with-pam \
--with-md5-passwords \
--bindir=/usr/local/bin \
--sbindir=/usr/local/sbin \
--libexecdir=/usr/libexec \
--sysconfdir=/etc/ssh 

# make
# make install
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?