I have installed OpenSSH 7.5p1 on my Raspberry Pi from Debian. I installed it using
tar -zxvf openssh_7.5p1.orig.ta.gz,
sudo make install.
When I do my security scan it says 6.7p1. Command output for:
ssh -V OpenSSH_7.5p1, OpenSSL 1.0.15t 3 May 2016
/usr/bin/ssh -V OpenSSH_6.7p1, Raspbian-5+deb8u3, OpenSSL 1.0.15t 3 May 2016
When I do
sudo dpkg --list openssh* it shows it using 6.7p1.
/usr/bin/ssh and linked it to
/usr/local/bin/ssh. And now it shows:
OpenSSH_7.5p1, OpenSSL 1.0.15t 3 May 2016
sudo dpkg --list openssh* still shows 6.7p1. I need it to scan and see only the 7.5p1.
whereis ssh gives
ssh: /usr/bin/ssh /etc/ssh /usr/local/bin/ssh /usr/share/man/man1/ssh.1.vs and
which ssh shows
Ok I used
apt-get purge to purge all instances of ssh, and reinstalled 7.5p1 as before. 7.5 is still in my
/usr/local/bin. I linked
/usr/local/bin/ssh again. Now when I run
sudo dpkg --list openssh* it show no instance of ssh, and I can't start the ssh service.
Is there anyway to fix this issue?