Changes between Version 4 and Version 5 of User Guide/Portal
- Timestamp:
- Mar 4, 2026, 7:38:08 PM (4 hours ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
User Guide/Portal
v4 v5 16 16 1. Go to [https://www.cosmos-lab.org/register_usr Register User] 17 17 2. Fill in your details: 18 * '''Username''' -- 3-16 characters, must start with a letter. Only lowercase letters, digits, hyphens, and underscores are allowed. This becomes your Linux login name on all testbed nodes.18 * '''Username''' -- 3-16 characters, must start with a letter. Only lowercase letters, digits, hyphens, and underscores are allowed. This becomes your login name on testbed console servers and other infrastructure machines. 19 19 * '''First Name, Last Name''' -- ASCII characters only 20 20 * '''Email''' -- must be a valid institutional email. Some organizations enforce domain restrictions (e.g., only @university.edu addresses). … … 83 83 * '''Delete a key''' -- remove individual keys you no longer need 84 84 85 You can upload multiple keys (e.g., one from your laptop and one from your desktop). These keys are deployed to all testbed consoles and nodes, giving you SSH access during active reservations.85 You can upload multiple keys (e.g., one from your laptop and one from your desktop). These keys are deployed to testbed console servers (jump hosts), giving you SSH access during active reservations. On baseline node images, root SSH access is granted automatically for the duration of your reservation. 86 86 87 87 [[Image(portal-ssh-keys.png, width=40%)]] … … 111 111 Once you have an approved reservation and your SSH key uploaded, you can connect to testbed nodes via SSH through the console server for your reserved domain. 112 112 113 '''Important:''' Your portal username is used to log in to the '''console servers''' (jump hosts) and other testbed infrastructure. On the testbed '''nodes''' themselves, you log in as '''root''' when using baseline images, or with whatever username you configure on your own custom/derivative images. 114 113 115 === Basic SSH Connection === 114 116 115 117 The general pattern for connecting to a testbed node is: 116 118 {{{ 117 ssh -J <username>@<console>.cosmos-lab.org <username>@<node>118 }}} 119 120 The `-J` flag sets up a '''jump host''' (also called a ''bastion host'' or ''proxy jump''), routing your SSH connection through the console server to reach the internal testbed node. For example, to connect to node1 in sandbox SB1:121 {{{ 122 ssh -J myuser@sb1.cosmos-lab.org myuser@node1-1119 ssh -J <username>@<console>.cosmos-lab.org root@<node> 120 }}} 121 122 The `-J` flag sets up a '''jump host''' (also called a ''bastion host'' or ''proxy jump''), routing your SSH connection through the console server to reach the internal testbed node. Your portal username authenticates you on the console; on the node itself you typically log in as `root` (baseline images). For example, to connect to node1-1 in sandbox SB1: 123 {{{ 124 ssh -J myuser@sb1.cosmos-lab.org root@node1-1 123 125 }}} 124 126 … … 126 128 {{{ 127 129 Host sb1-* 128 User myuser129 130 ProxyJump myuser@sb1.cosmos-lab.org 130 131 131 132 Host node1-1 132 133 HostName node1-1 133 User myuser134 User root 134 135 ProxyJump myuser@sb1.cosmos-lab.org 135 136 }}} … … 141 142 '''Local port forwarding''' -- forward a port from a remote testbed node to your local machine: 142 143 {{{ 143 ssh -L 8888:localhost:8888 -J myuser@sb1.cosmos-lab.org myuser@node1-1144 ssh -L 8888:localhost:8888 -J myuser@sb1.cosmos-lab.org root@node1-1 144 145 }}} 145 146 This makes port 8888 on node1-1 accessible at `localhost:8888` on your machine. Useful for Jupyter notebooks, web UIs, and other services. … … 147 148 '''Dynamic SOCKS proxy''' -- create a SOCKS proxy to route all traffic through a testbed node: 148 149 {{{ 149 ssh -D 1080 -J myuser@sb1.cosmos-lab.org myuser@node1-1150 ssh -D 1080 -J myuser@sb1.cosmos-lab.org root@node1-1 150 151 }}} 151 152 Then configure your browser to use `localhost:1080` as a SOCKS5 proxy.
