You'll first need to allow root loging in the sshd_config to login as root

On Thu, Apr 8, 2010 at 4:58 PM, David Kaiser <dkai...@cdk.com> wrote:

> Are the following instances of 'ubuntu' the same machine?  As in, you
> tried the telnet command and the ssh command from the same box?  Have
> you tried to run ssh as the root user?
>
> If the server allows incoming packets on port 22 (which it is doing with
> your telnet from root) then there isn't anything on the server which
> would restrict packets (like a firewall or tcp.rules implementation)
> that is blocking you just by your IP address.
>
> To me, that means there is likely something on the client that is
> restricting outbound port 22 to special users.  Try running ssh as root
> and see if it works.
>
> > r...@ubuntu:/home/paul# telnet 192.168.0.100 22
> > Trying 192.168.0.100...
> > Connected to 192.168.0.100.
> > Escape character is '^]'.
> > SSH-2.0-OpenSSH_5.1p1 Debian-5ubuntu1
> > ^C^C^^
> > Connection closed by foreign host.
> >
> > p...@ubuntu:~$ ssh 192.168.0.100
> > ssh: connect to host 192.168.0.100 port 22: Connection refused
> _______________________________________________
> LinuxUsers mailing list
> LinuxUsers@socallinux.org
> http://socallinux.org/cgi-bin/mailman/listinfo/linuxusers
>
_______________________________________________
LinuxUsers mailing list
LinuxUsers@socallinux.org
http://socallinux.org/cgi-bin/mailman/listinfo/linuxusers

Reply via email to