KPackage cannot connect to localhost port 22

Justin Denick justin.denick at gmail.com
Mon May 15 13:41:28 BST 2006


to allow root to your xsession try typing the following command as you
 xhost +

this will grant anyone from anywhere acess to your xsession

don't worry, as soon as you log out it will go back to whatever the default
was.

On 5/12/06, Never you mind <scrpt at catholic.org> wrote:
>
>
> On 12/05/2006, at 7:35 PM, Robin Atwood wrote:
>
> > 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).
>
> I don't have iptables, it doesn't seem to be in ports either. I'm
> running FreeBSD.
>
> malcolm
>
> ___________________________________________________
> 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.
>



-- 
Got Gentoo?

It usually takes more than three weeks to prepare a good impromptu speech.
                -- Mark Twain
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde/attachments/20060515/767127b3/attachment.htm>
-------------- next part --------------
___________________________________________________
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