Azure Linux Vm Active Directory
Setup to authenticate against active directory to login via SSH to Linux Azure VM#
- Login to Linux
-
Install node and npm
sudo apt-get install npm sudo ln -s /usr/bin/nodejs /usr/bin/node
-
Follow the steps on Buredo Aad Login
- Create a active directory user on the ad server with crednetials in
aad-login.js
-
Create user on server (
linuxguy
is on active directory)sudo useradd -m linuxguy
-
Allow password login
/etc/ssh/sshd_config
:PasswordAuthentication yes
- Login to server
ssh -l linuxguy { server_ip}