Install snap through terminal (ssh) on Ubuntu

How can I install snap with s1tbx on Ubuntu in terminal through SSH connection?

There is a page in our wiki (Install SNAP on the command line) which explains it.

Thx for reply, but I am trying to install from this and get error.

What kind of error do you get?
Have you copied the installer to your Ubuntu system?