How to Get on the Server for Broken Authentication

From Apoyar Wiki
Revision as of 10:09, 15 April 2021 by Admin (talk | contribs) (Created page with "How to Get on the Server for Broken Authentication Azure Portal - Login to portal - Go to Serial console, where u can check it require boot diagnostic - Switch off Nagios...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

How to Get on the Server for Broken Authentication

Azure Portal


- Login to portal

- Go to Serial console, where u can check it require boot diagnostic

- Switch off Nagios alerts (Schedule downtime for host and services)

- Stop the VM

- Go to boot diagnostic

- Settings

- Select option - Enable with custom storage account

• Diagnostic storage account – rgbrps (same as S3 bucket in AWS console)

- Save

- Then go to Serial console

- Click on start (start VM)

- Login:

- Enter password:


• sudo su

- Edit the sshd_config file

• vi /etc/ssh/sshd_config

- Save file

• :wq!

- check for any error

• sshd –t

- For checking whole configuration

• sshd –T

After this,


- Go to boot diagnostic

- Setting

- Select disable option

- Save

- And last start the VM



AWS Console

Before doing anything with VM in AWS console, take snapshot

- Go to Instances

- Select instance

- Storage

- Click on volume ID (open volume)

- Actions

- Create snapshot


- Go to instances

- Select instance

- Storage

• Note down device name ( /dev/sda1)

- Shut down instance (stop)


- Go to snapshots

- Select the snapshot, which we have created

- Create volume

- Go to volume

- Select newly created volume

- Actions

- Attach volume

• Select instance name

• Device : /dev/sdf (default)

Edit this to /dev/sda1 (Root Device Name, which we have noted before)

- Click on attach

- At last Start instance