Wednesday 19 December 2012

Updating OpenSSH to ver.6.0 on FreeBSD 8.2


    I have just installed FreeBSD 8.2 with sshd daemont during installation therefore version is:

# sshd -v
OpenSSH_5.4p1_hpn13v11 FreeBSD-20100308, OpenSSL 0.9.8q 2 Dec 2010

  According to my task I have upgrade sshd to 6.0. I tried to upgrade it from ports /usr/ports/security/openssh-portable but current version port is 5.8. 
  OpenSSH installed as part of FreeBSD is under /usr with configuration under /etc/ssh. OpenSSH installed via the ports tree is under /usr/local with configuration under /usr/local/etc/ssh. Therefore rc.conf to have sshd_enable="NO" and openssh_enable="YES". Run /etc/rc.d/sshd forcestop and /usr/local/etc/rc.d/openssh start.
   So, coming back to my task. First of all download tar with needed version.

#wget ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-6.0p1.tar.gz
# tar xvzf openssh-6.0p1.tar.gz

# cd  openssh-6.0p1
# ./configure --prefix=/usr --sysconfdir=/etc/ssh --with-pam --with-ssl-dir
# make
#make install

Now just restart daemon

# /etc/rc.d/sshd restart

and check version

# sshd -v
OpenSSH_6.0p1, OpenSSL 0.9.8q 2 Dec 2010


Bitvise SSH client

   I always use Putty as SSL client very famous and popular. But today I accidentally found out about Bitvise SSH client. It's possible download from official website. As for me I found very user features like as graphical SFTP client and terminal emulation.