Lenticular Cloud/Shell: Difference between revisions
No edit summary |
|||
(9 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
= Activate = | = 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 = | = 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 == | == IPv6 == | ||
Line 14: | Line 24: | ||
=== ~/.ssh/config === | === ~/.ssh/config === | ||
Copy this information in your ~/.ssh/config file: | |||
Host ipv4.shell.milliways.info | Host ipv4.shell.milliways.info | ||
HostName shell.milliways.info | HostName shell.milliways.info | ||
AddressFamily inet | AddressFamily inet | ||
Port 2222 | Port 2222 | ||
With that config you can | 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 | 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