Servers

    How to connect to my server

    Windows & PuTTY

    The easiest way to log in to your cloud server is with PuTTY, a free SSH client for Windows and UNIX platforms.

    • Browse to the Bitnami Launchpad for Microsoft Azure dashboard and sign in if required using your Bitnami account.
    • Select the "Virtual Machines" menu item.
    • Select your cloud server from the resulting list.
    • Note the server IP address and SSH credentials on the resulting page.

    • Download the PuTTY ZIP archive from its website.
    • Extract the contents to a folder on your desktop.
    • Enter the host name of your cloud server into the "Host Name (or IP address)" field, as well as into the "Saved Sessions" field.
    • Click "Save" to save the new session so you can reuse it later.

    • Click the "Open" button to open an SSH session to the server.
    • PuTTY will first ask you to confirm the server's host key and add it to the cache. Go ahead and click "Yes" to this request (learn more).

    • Enter your SSH username and password when prompted.  

    You should now be logged in to your cloud server.

    If you prefer to use PuTTY from the command line, you should include the '-l' option as follows:

    > putty -l bitnami1 xyz.cloudapp.net
    

    Remember to replace 'bitnami1' with the SSH username from your credentials pair and 'xyz.cloudapp.net' with the public IP address or hostname of your server.

    Windows & MobaXTerm

    MobaXTerm is an enhanced terminal with an X server and a set of Unix commands (GNU/Cygwin) packaged in a single portable exe file. You can dowload it at:

    http://mobaxterm.mobatek.net

     

        

    You can copy files to the machine using the right panel or you can connect to the machine through SSH:

    $ ssh azure_user@xyz.cloudapp.net
    

    Linux and Mac OS X

    Linux and Mac OS X come bundled with SSH clients by default.

    • Browse to the Bitnami Launchpad for Microsoft Azure dashboard and sign in if required using your Bitnami account.
    • Select the "Virtual Machines" menu item.
    • Select your cloud server from the resulting list.
    • Note the server IP address and SSH credentials on the resulting page.

    • Open a new terminal.
    • Connect to the server using the following command:
    $ ssh bitnami1@xyz.cloudapp.net
    

    Remember to replace 'bitnami1' with the SSH username from your credentials pair and 'xyz.cloudapp.net' with the public IP address or hostname of your server.

    • Your SSH client might ask you to confirm the server's host key and add it to the cache before connecting. Accept this request by typing or selecting "Yes" (learn more).
    • Enter your SSH password when prompted.

    You should now be logged in to your cloud server.

    Tabs end

    Why do I see two user directories and/or accounts, 'bitnami' and 'bitnami1'?

    If you log in to your Azure cloud server using FTP or SSH, you might notice two user accounts and corresponding home directories with similar names: 'bitnami' and 'bitnami1'. However, if you check the /etc/passwd file, you will see that these two names have the same user id (UID) and are therefore simply aliases for each other.

    This aliasing is necessary due to a technical limitation of the Azure platform in relation to Bitnami stacks. You may use the ‘bitnami1’ account to log in and perform server operations.
     

    IMPORTANT: It is strongly recommended that you do not delete or modify anything in these two user directories and/or accounts.

    How to open a port for remote access?

    To open a new port for remote access on your Microsoft Azure server, follow these steps:

    • Visit the server detail page in the Bitnami Launchpad for Microsoft Azure dashboard.
    • Click the "Manage in the Azure Console" button.

      image0.png

    • You may be prompted to log in your Azure account. Do so, and you will arrive at the Microsoft Azure Web dashboard.
    • Select the "Endpoints" link in the top navigation menu.
    • Click the "Add" button".

      image1.png

    • Select the option to "add a stand-alone endpoint".

      image2.png

    • Enter details for the port to be opened using the guidelines below:
      • Name: Use a human-readable name that makes it easy to identify the rule
      • Public port: Enter the port number to be opened.
      • Private port: Enter the port number to be opened. In most cases, this will be the same as the public port.
      • Source IP ranges: Use "0.0.0.0/0" to allow access from anywhere, or specify an IP address range
      • Protocol: Enter the protocol, whether "TCP" or "UDP

        The image below opens custom port 222 for remote access.

        image3.png

    • Save the changes. Your new firewall rule will come into effect immediately.
       
    TIP: Check the quick reference card for your server or use our handy cheat sheet to quickly find out which ports you need to open.

    Comments

    You must login to post a comment.