Re: Remote Administration Problem

From: Martin Hudec (corwin_at_aeternal.net)
Date: 03/26/04

  • Next message: Odhiambo Washington: "Header files problem ... OpenSSL"
    Date: Fri, 26 Mar 2004 12:31:31 +0100
    To: Hamed Abangar <h_abangar@yahoo.com>
    
    
    

    Hi Hamed,

    Why are you using telnet for administration, when there is SSH available? :)

    In default configuration SSH is not allowing to log in as root@.

    What you want to enable is:

    PermitRootLogin yes

    in /etc/ssh/sshd_config

    But is it difficult for you to log in there as normal user and then switch
    by su to root? su is checking in, who is in group wheel, and if you are
    in wheel group, then you are allowed to su to root, else you are blocked to
    su to root.

    You wouldn't have to go to server room, if you would create also another
    ordinary user account to which you will be loggin in when using ssh.

            cheers,
            Martin

    On Fri, Mar 26, 2004 at 12:43:26AM -0800, Hamed Abangar (h_abangar@yahoo.com) wrote:
    > Dear members
    >
    > I'm new to this list and also I'm new to FreeBSD environment .I'm network administrator
    > in an isp.Recently i have changed our Internet servers from Linux to freebsd ( cache
    > servers , dns servers , firewall , mail servers) . Every things works well , but i have
    > a problem.I can't control my servers remotely.I have activated SSH and telnet but i
    > can't login to my server with root account from my home or every other where.
    > Each time i want to check my servers , i must go to my server's room and this is not good
    > for a network administrator , i didn't have this problem with Linux.
    >
    > Any one can help me?
    >
    > thanks
    > Hamed Abangar

    -- 
    =--
    :
    :. kind regards
    :..		Martin Hudec
    :.:
    :.:	:m: +421.907.303393
    :.:	:@: corwin@aeternal.net
    :.:	:w: http://www.aeternal.net
    
    



  • Next message: Odhiambo Washington: "Header files problem ... OpenSSL"

    Relevant Pages

    • Re: Su newbie question
      ... I?ve always been the only administrator of ... servers I installed so I never searched too much on the topic? ... It is possible for there to be more than one account that is root. ...
      (freebsd-questions)
    • sshd config - WAS Secure entry into remote systems
      ... >>servers, then opening up the firewall for either ssh or VPN. ... > Also disable roots use of ssh so no one can go straight in as root. ... I'd like to set up shared key authentication. ...
      (Fedora)
    • Re: Remote Administration Problem
      ... Why are you using telnet for administration, when there is SSH available? ... In default configuration SSH is not allowing to log in as root@. ... > in an isp.Recently i have changed our Internet servers from Linux to freebsd (cache ... > for a network administrator, i didn't have this problem with Linux. ...
      (freebsd-questions)
    • PubkeyAuth disallowed for root only?
      ... On two of our RedHat EL4 Update 4 servers root cannot login via ssh using public keys. ... PubkeyAuth has worked fine on the problem servers, but one of the admins must have changed something, and of course no one remembers anything. ...
      (SSH)
    • Re: What account do you back up with
      ... myself in the role of administrator. ... getting on the linux servers at my job, ... otherwise use root. ... Depending on your needs you should consider using a mature backup ...
      (comp.os.linux.misc)