Results 1 to 4 of 4

Thread: Cygwin and Kerberos

  1. #1
    Join Date
    Aug 2006
    Location
    Monterey, CA
    Beans
    369
    Distro
    Ubuntu 12.04 Precise Pangolin

    Cygwin and Kerberos

    Let me prefix this question with if this is the wrong forum please point me in the direction of the correct one.

    I'm using Cygwin and Windows 7 and ssh via Cygwin to Linux servers and workstation, to include Ubuntu. For authentication there is always the password but like not having to type my password 1000 times a day so I use my Windows AD kerberos tickets to login to Linux servers that are also on the Window domain. This all works but tickets expire everyday so I would like to add a statement to my bashrc like"

    if kerberos_ticket == expired
    then kinit
    fi

    Looking at the man pages for kinit and klist I don't see how I could script this out. I guess I could grep/awk the output of klist but are there any quick solutions?

    thanks,

    Brandon

  2. #2
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    Hidden!

    Re: Cygwin and Kerberos

    Maybe your solution is to use SSH keys instead of passwords as described in the following link

    https://help.ubuntu.com/community/SS...SH/Configuring

  3. #3
    Join Date
    Aug 2006
    Location
    Monterey, CA
    Beans
    369
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Cygwin and Kerberos

    Thanks, I'm familiar with SSH keys and have that setup too but for hosts that don't have trusted ssh keys setup kerberos works to supplement that.

  4. #4
    Join Date
    Oct 2005
    Location
    Lab, Slovakia
    Beans
    10,791

    Re: Cygwin and Kerberos

    I think you'll have to script it.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •