KPackage cannot connect to localhost port 22

Robin Atwood robin.atwood at attglobal.net
Fri May 12 10:35:38 BST 2006


On Friday 12 May 2006 12:18, Never you mind wrote:
> 
> On 11/05/2006, at 11:22 PM, Robin Atwood wrote:
> 
> > On Thursday 11 May 2006 11:22, Never you mind wrote:
> >> On 11/05/2006, at 1:11 AM, Justin Denick wrote:
> >>> Some boxes don't allow root to gain ssh access. Smart idea in my
> >>> opinon.
> >>
> >> Right. I can see what your saying. It's a bit annoying that KPackage
> >> throws an error instead of providing an informational response, eg,
> >> "Access denied. Configure sshd on this machine to allow root access 
> >> via
> >> SSH protocol".
> >>
> >>> Look at the sshd.conf file and comment out the line preventing root
> >>> ssh access.
> >>
> >> I can see /etc/ssh/sshd_config. I set PermitRootLogin to 'yes' and
> >> uncommented it.
> >
> > Can you 'ssh root at localhost' from a console?
> 
> No, I can't
> 
> > If not, have you got 'sshd:
> > LOCAL' in '/etc/hosts.allow'?
> 
> The first line of /etc/hosts.allow says:
> 
> ALL : ALL : allow
> 
> that should cover  it shouldn't it?

I would have thought so. Port 22 blocked by iptables? Try 'iptables -L -v'.
Also when you try to login, check /var/log/messages and /var/log/secure (or 
equivalent on your distro).

-Robin.
-- 
----------------------------------------------------------------------
Robin Atwood.

"Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst"
         from "Mandalay" by Rudyard Kipling
----------------------------------------------------------------------





___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.




More information about the kde mailing list