I have ubuntu server in my home and I want get acces it from elswhere. I don't have public adress IP on my ubuntu server so I can't reach it from internet. I have static DNS etc. I heard of hamachi but I must install this on every computer which I want to connect to my ubuntu server at home. I want only acces to terminal.
You need to setup a reverse ssh tunnel
What this does is forwards any connections on port 1100 of the remote server to port 22 of the local system. You'd have to prepare this connection in advance, and it is not as reliable as a VPN.
If you want more reliability (ssh connection might get dropped), go for openvpn.
You could set up a reverse NAT rule in your router/NAT/firewall so that any connection to your router from outside on a port will be translated to a another machines address and port in your local network.
So port 22 on your router could translat to port 22 on your server. Then you just need to register in your DNS your server with the global IPv4 address of your router.
Or you can set up IPv6 and then all your machines could have proper global adressers. But the machine you then connect from also need to be on a IPv6 net. Don't forget to set up firewall on your IPv6-router and your machines. Which is quite easy to do with ufw.