I have disabled direct root logins on my AIX servers, but that makes it impossible to set up rdist to distribute files, etc. from my management servers. I'd like to configure ssh to permit root login via ssh on my servers from just my two NIM servers.
In looking at sshd.conf man pages, it appears that I need to populate the AllowUsers/Groups and DenyUsers/Groups with entries covering all accounts in order to cover the bases. It seems like a gargantuan task. I have about 100 servers, and over 5000 ids on all the machines, so I need a better way to do it.
I suppose I could create groups 'sshloginok' for everyone who should be able to login and 'sshloginnot' for others, and put all ids into those. Then for root, I could list 'root@NIM1' and 'root@NIM2' in the AllowUsers on each of my systems. Seems like an awful lot of work...
Does anyone have any better ideas?
Robert Blizard
National Grid USA Service Co.
An expert is a man who has made all the mistakes which can be made, in a narrow field.
Neils Bohr (1885-1962)
In looking at sshd.conf man pages, it appears that I need to populate the AllowUsers/Groups and DenyUsers/Groups with entries covering all accounts in order to cover the bases. It seems like a gargantuan task. I have about 100 servers, and over 5000 ids on all the machines, so I need a better way to do it.
I suppose I could create groups 'sshloginok' for everyone who should be able to login and 'sshloginnot' for others, and put all ids into those. Then for root, I could list 'root@NIM1' and 'root@NIM2' in the AllowUsers on each of my systems. Seems like an awful lot of work...
Does anyone have any better ideas?
Robert Blizard
National Grid USA Service Co.
An expert is a man who has made all the mistakes which can be made, in a narrow field.
Neils Bohr (1885-1962)