JARVIS: Difference between revisions

From Nottinghack Wiki
Jump to navigation Jump to search
No edit summary
Line 47: Line 47:
JARVIS is accessible from the the internet on jarvis.nottinghack.org.uk port 3000. However, from the internet you will need to using a [[Wikipedia:Public-key cryptography|key]] to login, not your HMS <password>. This requires configuring your client computer (that will access JARVIS over the internet) and your JARVIS user account (as server). Part of the set up requires being logged into the Hackspace's network; therefore the whole set up can not be done over the internet.
JARVIS is accessible from the the internet on jarvis.nottinghack.org.uk port 3000. However, from the internet you will need to using a [[Wikipedia:Public-key cryptography|key]] to login, not your HMS <password>. This requires configuring your client computer (that will access JARVIS over the internet) and your JARVIS user account (as server). Part of the set up requires being logged into the Hackspace's network; therefore the whole set up can not be done over the internet.


;1 - Get SSH key


this effectively means that the first time you connect to JARVIS, you must do so from the Hackspace network.
If your client computer hasn't got a SSH create one using:


[http://www.debian-administration.org/article/SSH_with_authentication_key_instead_of_password];
ssh-keygen
 
This creates two key in the directory '~/.ssh'.
 
The private key 'rsa_id' - don't share this one.
 
The public one 'rsa_id.pub' - bring this one to Hackspace
 
;2 - SSH public key to Hackspace
 
 
 
====Resources====
*[http://www.debian-administration.org/article/SSH_with_authentication_key_instead_of_password SSH with authentication key instead of password] - more detail explain of SSH keys


==Webpage access==
==Webpage access==

Revision as of 20:34, 16 March 2019

JARVIS (10.0.0.4) is a sandbox VM accessible to any member. It has a shared directory accessible from the space's networked computers, it can host member webpages and can be used via SSH. Computers can also be configured to access JARVIS via the internet using SSH.

Note, Holly is not freely accessible by members as it is mission critical.

Specs

Like Holly, JARVIS is a VM running on Collective, it currently has the following resources

  • 1CPU core
  • 1GB RAM
  • 50GB HDD
  • Debian Wheezy 64bit

Running service's include

  • SSH
  • Apache with PHP5
  • MySQL
  • SAMBA

File manager access

Every member can create an unencrypted folder on the shared folder on the JARVIS server (/home/shared).

Linux

In Nautilus on Ubuntu:

  • Browse Network > Windows Network > nottinghack > JARVIS > Shared
    • Enter HMS credentials <username> and <password> in the dialogue box, leave other options as their default values.

SSH access

Note Note: SSH and web address use the all lowercase form of your HMS <username>

Local network

On the local network JARVIS can be accessed via SSH using password or key.

Using a Linux terminal
ssh <username>@jarvis

Enter your HMS <password> when prompted. You will be logged on as '<username>@jarvis' and be in your home directory (/home/<username>).

Using Linux file manager

Select 'Connect to server' with settings:

type: SSH / SFTP
host: jarvis
login: <username>

You will be prompted to enter your HMS <password>.

Internet access

JARVIS is accessible from the the internet on jarvis.nottinghack.org.uk port 3000. However, from the internet you will need to using a key to login, not your HMS <password>. This requires configuring your client computer (that will access JARVIS over the internet) and your JARVIS user account (as server). Part of the set up requires being logged into the Hackspace's network; therefore the whole set up can not be done over the internet.

1 - Get SSH key

If your client computer hasn't got a SSH create one using:

ssh-keygen

This creates two key in the directory '~/.ssh'.

The private key 'rsa_id' - don't share this one.

The public one 'rsa_id.pub' - bring this one to Hackspace

2 - SSH public key to Hackspace


Resources

Webpage access

Note Note: SSH and web address use the all lowercase form of your HMS <username>

As we only have one external IP address, WEB/port 80 connections to JARVIS are proxied by Holly.

Your 'public_html' directory is on JARVIS at '/home/<username>/public_html'. Your 'index.html' file goes here.

This is served at web address: http://jarvis.nottinghack.org.uk/~<username>.