tmate-io / tmate

Instant Terminal Sharing

Home Page:https://tmate.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Printing inverted ascii qrcode of url ssh connection

fabceolin opened this issue · comments

I am using tmate to access console only linux over ssh and I think will be useful to show the inverted ascii QRcode of ssh command, like this, to make it easier to share the access URL.

echo "ssh faXbyg4AsLgPdgStyMEwbkhma@nyc1.tmate.io" | qrencode --type asciii
##########################################################################
##########################################################################
##########################################################################
##########################################################################
########              ######  ##    ####  ##  ##  ##              ########
########  ##########  ##  ##  ######    ########  ##  ##########  ########
########  ##      ##  ##########  ##      ######  ##  ##      ##  ########
########  ##      ##  ##      ##            ##  ####  ##      ##  ########
########  ##      ##  ####  ############  ######  ##  ##      ##  ########
########  ##########  ##    ##    ####  ##  ####  ##  ##########  ########
########              ##  ##  ##  ##  ##  ##  ##  ##              ########
##########################      ####  ##  ################################
########          ##        ##  ##    ####  ##      ##  ##  ##  ##########
##############    ####    ##  ##  ##  ######      ##      ####    ########
########          ##  ######  ######          ####  ##    ####  ##########
########        ########  ######  ####  ####  ##  ##  ##    ##  ##########
########  ##                  ##            ####  ######  ##      ########
########  ##  ##  ####    ################          ##      ##    ########
############              ##      ##          ##  ##  ##  ##  ############
##########  ##  ##  ##  ######  ####  ########  ##  ##      ####  ########
########    ##    ##  ##    ##  ##  ##  ##  ####  ####  ####    ##########
########    ######  ##    ######    ####      ##      ##  ######  ########
########  ##  ####    ######  ####        ##  ##  ####  ##  ##############
########  ##  ##  ######  ######  ####  ####      ##        ####  ########
########  ##              ######      ##    ####            ##  ##########
########################  ########  ####      ##  ######  ##  ##  ########
########              ##          ####  ######    ##  ##  ################
########  ##########  ######    ####  ##  ####    ######    ##  ##########
########  ##      ##  ##              ####  ####          ##  ##  ########
########  ##      ##  ##  ######    ####  ##  ################    ########
########  ##      ##  ##  ######        ####    ######    ##    ##########
########  ##########  ##          ##    ########    ##      ##  ##########
########              ##    ##    ####  ######  ##  ######    ############
##########################################################################
##########################################################################
##########################################################################
##########################################################################