login:
ssh username@server_ip -A
-A means takes the local private keys to server ( so you have no need to login gitlab/github in server again )
start tmux:
tmux
exit tmux:
exit
exit server:
exit
原文:https://www.cnblogs.com/zealousness/p/9502647.html