OpenBSD Journal

SSH: Ditch your passwords

Contributed by mk/reverse on from the this-makes-me-forget-my-sudo-password dept.

Brian Hatch has written two nice articles for SecurityFocus on avoiding having to use your passwords when using SSH for remote logon.

If you are using SSH a lot when working, e.g. for CVS access, you should definitely read this nice introduction to using SSH keys for single sign-on. It will make you work a lot faster while improving security.

The first part is here, and the second part is here.

(Comments are closed)


Comments
  1. By Brian (205.161.1.46) on

    If any of you are using macs and terminal.app, how do you go about using ssh-agent? I'm currently manually running a shell script that starts ssh-agent and writes the enviroment variables to a file that is read automatically by the shell's profile.

    Maybe someone is aware of a more elegant solution?

    Comments
    1. Comments
      1. Comments
        1. By Brian (205.161.1.46) on

          I installed it am running it now. It seems to work great and eliminates the need for a proxy script that I've been using to forward ports.

  2. By SeppoE (217.226.12.93) on

    I'm receivung nothing but microsoft ad, top'ed by some href code snippet.

    Comments
    1. By blake (209.145.230.49) blake@ekalb.net on

      I've been using SSHKeychain for about a year. I highly recommend this app for OS X users! The new built-in tunneling feature is great. :)

  3. By Anonymous Coward (207.58.193.33) on

    ssh-agent definitely saves you the hassle of distributing public keys between combination of servers

Credits

Copyright © - Daniel Hartmeier. All rights reserved. Articles and comments are copyright their respective authors, submission implies license to publish on this web site. Contents of the archive prior to as well as images and HTML templates were copied from the fabulous original deadly.org with Jose's and Jim's kind permission. This journal runs as CGI with httpd(8) on OpenBSD, the source code is BSD licensed. undeadly \Un*dead"ly\, a. Not subject to death; immortal. [Obs.]