ssh is installed in my system.
ssh -V OpenSSH_6.6.1p1 Ubuntu-2ubuntu2, OpenSSL 1.0.1f 6 Jan 2014
But when I try to uninstall it completely using
sudo apt-get purge openssh-server it says
Package 'openssh-server' is not installed, so not removed.
How I can remove it completely? I was having issue SSH login using Ubuntu's terminal - Permission denied (publickey), so I wanted to un-install it and again re-install it.
As suggested by Mark in the answer/comments, I've uninstalled ssh using synaptic package manager, still ssh -V was showing it's there. What might be the issue?
As suggested, again I've reinstalled it, still I'm getting SSH login using Ubuntu's terminal - Permission denied (publickey) issue.