Re: host authentication or ssh-agent - what's more secure?

From: Neil W Rickert (rickert+nn@cs.niu.edu)
Date: 04/24/03

  • Next message: Sebastian Schack: "Re: Disallow users to login via ssh?"
    From: Neil W Rickert <rickert+nn@cs.niu.edu>
    Date: 24 Apr 2003 18:23:07 GMT
    
    

    brightwell_151@yahoo.co.uk (Bright) writes:

    >I'm looking for feedback on which is the better method for securing
    >access to unix systems while at the same time not making it too
    >uncomfortable for people to switch between servers.

    I don't think there is an easy answer. It depends on what you are
    trying to achieve.

    Here are my current practices.

    I use hostbased from my main trusted servers.

    I use ssh-agent for most other authentication.

    Rationale --

       If someone breaks into the trusted server, they can create
       a new root user in NIS+, and gain access to other systems
       anyway.

       Running ssh-agent has its own risks -- if an intruder has access
       to the ssh-agent socket, they can "borrow" its authentication
       privileges.

     -------

       I run ssh-agent only on my desktop client machine, with very
       restricted access to that machine. By default, agent forwarding
       is turned off. If I am absent from the machine for a lengthy
       period, I delete the keys from agent (for safety).

       If I need password-less access for copying between machines, where
       it is not initiated from my ssh-agent desktop, nor from a trusted
       server, then I open an ssh session

            ssh -A

       to do agent forwarding for the duration of that session. I do the
       copy, then close that session. That way agent forwarding is never
       done long-term.


  • Next message: Sebastian Schack: "Re: Disallow users to login via ssh?"

    Relevant Pages

    • Re: scheduler fails to start task five hours after session close
      ... If the job connects to another machine you may need to add the user/ group 'logon as batch job' rights. ... I have a strange behavior on my servers where the scheduled tasks fail to start with message "Could not start". ... I added one task every hour on the hour that calls the same batch file with the same credentials, those of the session I opened. ...
      (microsoft.public.windows.server.general)
    • Reason 0.1.0 (New Nessus Client)
      ... Reason is an application/network security scanner client for Nessus and Nessus compatible servers. ... In addition to an improved user interface, it provides complete session management, templates, and report generation using XSLT. ...
      (Pen-Test)
    • Unix Admin Contract Position Available
      ... I am in need of a Unix Systems Engineer to do the following: ... Microcode management for AIX servers ... Installation and configuration of Control-SA software on all applicable ... Serve as resource and backup to primary and secondary Unix Systems ...
      (comp.unix.solaris)
    • Unix Administrator Position Available through COMSYS
      ... I am in need of a Unix Systems Engineer to do the following: ... Microcode management for AIX servers ... Installation and configuration of Control-SA software on all applicable ... Serve as resource and backup to primary and secondary Unix Systems ...
      (comp.unix.aix)
    • Re: content static for 24hrs
      ... Largely content delivery, some of which will be subscription based. ... kind of session info would be required. ... The are single purpose servers. ...
      (microsoft.public.inetserver.asp.db)