Member since
12-22-2015
4
Posts
0
Kudos Received
1
Solution
My Accepted Solutions
Title | Views | Posted |
---|---|---|
5032 | 12-31-2015 02:32 AM |
12-31-2015
02:32 AM
Thanks to everyone for the suggestions. I wanted to give an update as I am able to connect to the prompt, hopefully will help others who have similar environments similar to mine. My challenge was to get the SSH working from Windows 10 (Surface Pro) where the VM was created in Azure (classic) General guidelines https://azure.microsoft.com/en-us/documentation/articles/virtual-machines-windows-use-ssh-key/ Installed GitHub with GitShell. Ran the command from GitShell to generate the key file and .pem file (openssl.exe req -x509 -nodes -days
365 -newkey rsa:2048 -keyout myPrivateKey.key -out myCert.pem) Installed PuttyGen Convert to .rsa file so PuttyGen can understand (openssl rsa -in ./myPrivateKey.key -out myPrivateKey_rsa# chmod 600 ./myPrivateKey_rsa) Load the private key via PuttyGen, save the PrivateKey as .ppk file Next copy the PublicKey from PuttyGen. Now, I attempted to take the key to existing Azure VM, Settings, Reset Password and change to SSH Public Key. Although, the key was accepted, it did not finish for a long time. The restart did not help. Kept getting Server key was refused. So, I created a new VM using Marketplace Sandbox using Resource Manager (not classic) using the Public Key. Note down the user name! Ran Putty, provided the IP address using port 22, on SSH -> Auth page, provided the .ppk file saved earlier from PuttyGen. When prompted, provide the username used in Azure portal. Voila!
... View more
12-23-2015
03:41 AM
My problem is that I am running Windows and I cannot connect to terminal mode of the sandbox to run any commands recommended here. I think I have to generate the keys and plug it in Azure, which I assume copies to authorized keys. Still on this step.
... View more
12-22-2015
05:37 PM
@ Geoffrey Shelton Okot I cannot successfully login as root. The enter does not give me a prompt to enter commands. Sample below. login
as: root root@xxxxx.
cloudapp . net 's password: Access
denied root@xxxxx
. cloudapp . net's password: Are there specific settings in Putty? I am using machinename.cloudapp.net with port 22, which is same as SSH port in the endpoint at azure. OS on my side is W10.
... View more
12-22-2015
04:15 PM
I am running the sandbox on Azure. I am able to login to Ambari, hue and 8080 page. However, the SSH using putty or using web version at port 4200, does not accept any credentials. Tried root/hadoop Also the user name and password set for this vm at azure. Getting Access denied message. Thoughts? How do reset root password if it helps?
... View more
Labels:
- Labels:
-
Apache Ambari
-
Apache Hadoop
-
Cloudera Hue