Azure Linux VM
Azure Linux VM Connection
pre-Req:
- For Mac Users
- Make sure linux machine is created
Steps:
- Open Linux Machine Panel
- Go to Settings > Connect > SSH
- Click on other Clients
- From the new page opened , Copy Create an SSH key Pair "ssh-keygen -m PEM -t rsa -b 4096"
- Run "ssh-keygen -m PEM -t rsa -b 4096" in Terminal
- Click Enter all the times
Testing Connection
- In the previous page , enter the path of the id_rsa.pub Eg : "~/.ssh/id_rsa.pub" or "(if u have added the file in a new folder ) ~/.ssh/vm_linux/pushpa/id_rsa.pub "
- click on "test your connection"
- Your unsaved edits will be discarded , ck Yes
- Ck on Test Connection
- this shd pass
Connection:
- Settings > Connect > SSH
- copy the run example ie ., ssh -i <private key path> pushpaxxxxx@1xx.xx.1xx.xx
- Replace the privae key path to ids_rsa which was created
- Make sure u give the azure account password when asked
Install Python3
- sudo su
- <azure password>
- yum install python3
- pip3 install requests
No comments:
Post a Comment