cancel
Showing results for 
Search instead for 
Did you mean: 

Access SAP HANA Developer edition CAL on Azure via ssh

Former Member
0 Kudos

I have deployed a SAP HANA Developer Edition on Azure.

I can use SAP Web IDE for SAP HANA, but I do not understand how to access the OS via SSH.

The main problem is: which is the os user to use for ssh access? Being the virtual machine taken from a SAP library (CAL) I would expect to find this info in some document issued by SAP.

I did download the .pem file from cal.sap.com, but if I do

ssh -i /path_to_pem_file/myfile.pem azureuser@<my public ip address>

I get an error

Permission denied (publickey).

Is "azureuser" the right username (as it is suggested in the tutorial)? Or is it "hdbadm" like with HANA Express? "root"? Tried all of these without any success.

I also tried to use "vhclhdbdb" (defined in my /etc/hosts file) instead of the numeric ip address, with same result.

EDIT: SAME PROBLEM WITH HANA Express

Last try is: terminate SAP HANA Developer Edition and install a new SAP HANA Express from CAL on Azure.

Same problem. Now I am sure the OS user is "hxeadm" (it works on my local HANA Express), but I always get "Permission denied" error when trying to ssh with the .pem file downloaded by SAP CAL site.

I'm spending all my credit on azure just to access the os via ssh.... Any help?

Accepted Solutions (0)

Answers (4)

Answers (4)

carine_laine
Member

kranz,

I know this is an old question, but it might help others. All the users can be found in the "Getting Started" guide that you find in your instance's info page on SAP CAL.

For SSH, use only root.

ssh -i /path_to_pem_file/myfile.pem root@<my public ip address>

For those who use PuTTY, start PuTTYgen, load the private key file, and export it into PuTTY's ppk file format. Then load it before connecting in Connection --> SSH --> Auth

DiegoDora
Participant
0 Kudos

@Francesco Pellegrini & @Amit Mahapatra

I think that the main problem is you are not using the private key generated at the moment you were creating the instance. Check these links:

AWS SSH: https://wiki.scn.sap.com/wiki/display/ATopics/FAQ+-+Specific+questions+for+Amazon+Web+Services specifically under the question: How to connect to a running instance in AWS via the secure shell protocol (SSH)?

Azure SSH: https://wiki.scn.sap.com/wiki/display/ATopics/FAQ+-+Specific+questions+for+Microsoft+Azure specifically under the question: How to connect to a running instance in Microsoft Azure via the secure shell protocol (SSH)?

There is more information under this blog entry https://wiki.scn.sap.com/wiki/display/ATopics/SAP+Cloud+Appliance+Library+-+Troubleshooting

Hope this helps!

Best,

Diego Dora.
@diegohdora

Former Member
0 Kudos

Amit,

I simply abandoned any effort to have it working. I use HANA 2 Express on my home vmware esxi server. Too much time and money wasted: being careful about keeping the VM running on Azure only for the time I use it led to a 70€ monthly bill... Just to try using it ....

Former Member
0 Kudos

Hi,

are you able to resolve the issue. i am having exactly the same problem. this is quite ridiculous that SAP is showing its tie up with Azure but the documentation clearly has no proper way. Any help ?