Lenticular Cloud/Shell: Difference between revisions
(Created page with "<h1>Activate</h1> Go to https://account.milliways.info/ to activate your shell or add passwords/ssh keys. ! Probably you have to refresh the page to see changes ! <h1>Conne...") |
|||
(10 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
= Activate = | |||
Go to https://account.milliways.info/ to activate your shell or add passwords/ssh keys | Go to https://account.milliways.info/ to activate your shell or add passwords/ssh keys - services -> POSIX | ||
! Probably you have to refresh the page to see changes ! | ! Probably you have to refresh the page to see changes ! | ||
= Connect = | |||
< | == Generate a ssh key == | ||
<code>ssh-keygen -t ed25519</code> | |||
Your public key will be saved in the file you specified or at ~/.shh/id_ed25519.pub. | |||
Add your public key (and ONLY the public key) to | |||
https://account.milliways.info/services/#posix and save it. | |||
== IPv6 == | |||
<code>ssh <username>@shell.milliways.info</code> | <code>ssh <username>@shell.milliways.info</code> | ||
== IPv4 (legacy IP) == | |||
<code>ssh -p 2222 <username>@shell.milliways.info</code> | <code>ssh -p 2222 <username>@shell.milliways.info</code> | ||
=== ~/.ssh/config === | |||
Copy this information in your ~/.ssh/config file: | |||
Host ipv4.shell.milliways.info | |||
HostName shell.milliways.info | |||
AddressFamily inet | |||
Port 2222 | |||
After having connected type: byobu-enable. | |||
With that config you can connect with the following command to the shell: | |||
ssh <username>@ipv4.shell.milliways.info | |||
= Socks Proxy = | |||
You can use the ssh connection, to create a socks proxy on port 1080 with | |||
ssh -D 1080 shell.milliways.info | |||
The proxy is then capable of ipv4 and ipv6 connections |
Revision as of 18:00, 3 August 2019
Activate
Go to https://account.milliways.info/ to activate your shell or add passwords/ssh keys - services -> POSIX
! Probably you have to refresh the page to see changes !
Connect
Generate a ssh key
ssh-keygen -t ed25519
Your public key will be saved in the file you specified or at ~/.shh/id_ed25519.pub.
Add your public key (and ONLY the public key) to
https://account.milliways.info/services/#posix and save it.
IPv6
ssh <username>@shell.milliways.info
IPv4 (legacy IP)
ssh -p 2222 <username>@shell.milliways.info
~/.ssh/config
Copy this information in your ~/.ssh/config file:
Host ipv4.shell.milliways.info HostName shell.milliways.info AddressFamily inet Port 2222
After having connected type: byobu-enable.
With that config you can connect with the following command to the shell:
ssh <username>@ipv4.shell.milliways.info
Socks Proxy
You can use the ssh connection, to create a socks proxy on port 1080 with
ssh -D 1080 shell.milliways.info
The proxy is then capable of ipv4 and ipv6 connections