Login remotely to a ADS authenticated RHEL system

This week I was trying to get an RHEL system to authenticate me using my Active Directory credentials. After a bit of looking around, I cam across this wonderful step-by-step procedure to get it done:

Attaching a RHEL6 server install to Active Directory for authentication

Everything was going on well. I was able to do a local login using:

ssh myuser@MYDOMAIN@localhost

I just thought it might be cool to try logging in to my newly configured ADS authenticated box over SSH from another machine. So I tried,

ssh myuser@MYDOMAIN@192.168.0.1

which obviously didn't work. The shell was treating "MYDOMAIN@192.168.0.1" as the hostname. With a little bit of playing around I found out that the following worked:

ssh "MYDOMAIN\myuser"@192.168.0.1

It looks like specifying the domain the way usually Windows expects it really did work if it was enclosed in quotes!

Comments

Popular posts from this blog

Errors while trying to monitor Asterisk through Nagios

Configuring remote access for couchdb

Proxy Error 502 “Reason: Error reading from remote server” with Apache 2.2.3