Anti-nuisance lawsuit warning: The purpose of these notes is to remind me, Zoegond, of stuff or to help me work stuff out. They may contain mistakes.

Quick

  • ($a, $b....) = unpack("A2A7...", $packed)
  • push( array, list )

Friday, February 3, 2012

OpenSSH with a domain

Suppose you want to get openssh working on a work machine that's part of a domain THEDOMAIN. You want to run ssh sessions using your usual username THEDOMAIN\dugeen.

Just do the 'domain' steps from the quick start guide:

mkgroup -d >> ..\etc\group
mkpasswd -d -u dugeen thedomain >> ..\etc\passwd

(mkgroup will take a while if THEDOMAIN has a large number of groups).

Then start the service and there you go.

One thing about ssh on windows in general - you won't get command line editing with the arrow keys unless your ssh client supports them itself.

I wonder if having all the groups from THEDOMAIN in etc\group is necessary?

Followers

Blog Archive