Follow

Installing remot3.it connections onto an Ubuntu AWS Instance

remot3.it is compatible with Ubuntu 14.04 and 16.04 images at AWS.

You will need to understand, check and possibly edit the AWS Security Group used for your AWS instance. The AWS Security Group for your instance controls inbound or incoming and outbound or outgoing connections.

At a minimum, add TCP port 22 open for incoming direct ssh connections.

You can close TCP port 22, if you want to, after you install and confirm ssh access using remot3.it. Closing TCP port 22 will add an extra layer of security. You will not be able to use ssh directly (without remot3.it) if you do close TCP port 22.

Log into your AWS image with ssh and follow these instructions:

Download remot3.it weavedconnectd for Ubuntu

Copy and paste the command line below into an ssh client connected to your AWS Ubuntu instance, then hit the Enter key.

wget https://github.com/weaved/installer/raw/master/Ubuntu_deb/weavedconnectd_1.3-07_x86/weavedconnectd_1.3-07k_x86.deb

--------------------

Name: weavedconnectd_1.3-07k_x86.deb
Size: 108,840 bytes
Version: 1.3-07k
Date: 09/19/2017
MD5 checksum: dabdac3a8f36db78afc9fbbdc5dbdfbd

Install remot3.it weavedconnectd

Launch the installer:

ubuntu@ip-175-131-27-140:~$ sudo dpkg -i weavedconnectd_1.3-07k_x86.deb
Selecting previously unselected package weavedconnectd.
(Reading database ... 51035 files and directories currently installed.)
Preparing to unpack weavedconnectd_1.3-07k_x86.deb ...
Unpacking weavedconnectd (1.3-07k-x86) ...
Setting up weavedconnectd (1.3-07k-x86) ...
Processing triggers for systemd (229-4ubuntu19) ...
Processing triggers for ureadahead (0.100.0-19) ...
ubuntu@ip-175-131-27-140:~$

Configure remot3.it weavedconnectd

Run:

sudo weavedinstaller

Log into your account (or follow steps to create a new account), then:

On a newly configured device, you need to supply a name.  All of the remot3.it services on this device will be grouped under that name.

Now, select "1" to attach remot3.it to a TCP server.

Let's start with ssh:

Now you can add more attachments, or delete ones already in place, or if you really want to, delete all attachments and services.  Changing the device or services names can be done with the remot3.it web interface.

If you get a WARNING in the menu, it means that we could not find a tcp service at the defined port. 

If necessary,  double check which services are actually running.

 

Confirmation e-mail

Whenever you register a new device, you should receive a confirmation e-mail similar to the following.  If you have any issues with registering a new device, confirm that you received this e-mail.  Check your spam folder if needed.

Connect to your remot3.it enabled Ubuntu AWS instance

To test the connection to your AWS Ubuntu instance from your browser, go to the device list, find the line with your server's alias, and click on the device name to show the installed services.

 

If the service you installed uses the http web protocol, the connection will open directly in your browser. Otherwise, a popup window will appear with a web address and port that you must copy into your application's connection window (e.g. PuTTY for SSH).

 

Here's how to use the remot3.it proxy connection with your AWS instance and existing PEM key, in Linux:

$ ssh -i aws-access.pem ubuntu@proxy8.yoics.net -p 33299
The authenticity of host '[proxy8.yoics.net]:33299 ([54.144.218.180]:39210)' can't be established.
ECDSA key fingerprint is SHA256:71VISNU3/K5zGGqXu6l1yJlhkVAml5P0K0km441ETXQ.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '[proxy8.yoics.net]:33299,[54.144.218.180]:39210' (ECDSA) to the list of known hosts.
Welcome to Ubuntu 16.04.2 LTS (GNU/Linux 4.4.0-1032-aws x86_64)

* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage

Get cloud support with Ubuntu Advantage Cloud Guest:
http://www.ubuntu.com/business/services/cloud

56 packages can be updated.
0 updates are security updates.


Last login: Mon Sep 18 19:40:15 2017 from 76.211.61.54
ubuntu@ip-272-162-212-409:~$

 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.