Page 1 of 1

SSH not working from localhost

PostPosted: Wed Sep 19, 2012 5:26 am
by AltheaCastro
I can use "ssh myusername@myhostname" from another system and also from http://webssh.uni.me .
But when I'm logged on "myhostname" as "myusername" i get a connnection refused when i try "ssh localhost" (or "ssh 127.0.0.1").
What can cause this ?

Re: SSH not working from localhost

PostPosted: Mon Sep 24, 2012 10:38 am
by Micro
Have you tried removing and reinstalling OpenSSH? This may help also http://ubuntuforums.org/showthread.php?t=1702992

sudo apt-get remove openssh-client openssh-server

sudo apt-get install openssh-client openssh-server

Hope this helps!