Skip to Content
0

Access SAP HANA Developer edition CAL on Azure via ssh

Dec 08, 2016 at 04:30 PM

214

avatar image

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?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Amit Mahapatra Dec 24, 2016 at 03:49 AM
0

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 ?

Share
10 |10000 characters needed characters left characters exceeded
Francesco Pellegrini Jan 20, 2017 at 11:01 AM
0

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 ....

Share
10 |10000 characters needed characters left characters exceeded
Diego Dora
Feb 20, 2017 at 08:59 PM
0

@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

Share
10 |10000 characters needed characters left characters exceeded