ksaitoの日記

日々試したことの覚え書き

Ubuntuのopensshコンパイル

移転しました。

自動的にリダイレクトします。

/etc/apt/sources.listの下記の行を追加します。

deb-src http://archive.ubuntu.com/ubuntu/ bionic main restricted

次のコマンドでソースパッケージを取得します。

apt update
apt-get source openssh

次のコマンドで、ビルドに必要な準備をします。

cd openssh-7.6p1
sudo apt-get build-dep openssh-server
autoconf
./configure

ビルドします。

make

以上