Tuesday, December 26, 2006

UNIX: Passwordless authentication

You can have passwordless authentication using the information in the given site

http://www.unixwiz.net/techtips/putty-openssh.html

2 comments:

  1. The much awaited batch file to have passwordless authentication:

    @echo off
    rem Batch file to access different linux servers using putty
    if "srv1"=="%1" GOTO srv1
    if "srv2"=="%1" GOTO srv2

    start putty -ssh a.b..%1 -l root -pw passwd
    EXIT

    :srv1
    start putty @srv1
    EXIT

    :srv2
    start putty -ssh a.b.c.d -l userid -pw password

    ReplyDelete
  2. A better way is to use putty command line options combined with HTA it is terrific.

    ReplyDelete