Lenticular Cloud/Shell: Difference between revisions

From Milliways
Jump to navigation Jump to search
mNo edit summary
(4 intermediate revisions by the same user not shown)
Line 9: Line 9:
== Generate a ssh key ==
== Generate a ssh key ==


<code>ssh-keygen -t ed25519
<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 18: Line 24:


=== ~/.ssh/config ===
=== ~/.ssh/config ===
Copy this information in your ~/.ssh/config file:


   Host ipv4.shell.milliways.info
   Host ipv4.shell.milliways.info
Line 24: Line 32:
     Port 2222
     Port 2222


With that config you can use it with the following command:
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

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