SELECT auth_scheme FROM sys.dm_exec_connections WHERE session_id=@@spid This command should return NTLM or Kerberos
You are currently browsing the post archives for 1 July 2009.
Get current authentication provider
Comment on Get current authentication provider
Automatic SSH logon
Host1: ssh-keygen No PassPhrase (so automatic logon works) Default filename and path is ok cat ~/.ssh/id_rsa.pub Copy content of id_rsa.pub Host2: Create ~/.ssh Create ~/.ssh/authorized_keys Paste content of clipboard into authorized_keys Both steps vice vera At the first logon a warning appears that the hostkey is added to know_hosts. Yes to proceed. That’s it
Comment on Automatic SSH logon
Find and delete files with specific content
Ever wanted to deleted (or move, copy, what else) all files in a directory? It’s quite easy: egrep -l NEEDLE * | xargs rm This command will find all files with NEEDLE in it, pipes the filename (that’s because we need the parameter L) to xargs which then use the STDIN (our filename) and put’s…
Comment on Find and delete files with specific content
Start of the blog
And it’s time again. I’ll start with a blog (again). I’ve already tried it time ago with WSS3.0. Now, because I had to move to Linux-Servers I’m using WordPress.


