Check first your connection to prevent killing yourself
$ tty
Kill other connection
$ skill -9 pts/1
or
# skill -KILL pts/1
Info
Teletypewriter - TTY
pseudo terminal slave - PTS
$ tty
Kill other connection
$ skill -9 pts/1
or
# skill -KILL pts/1
Info
Teletypewriter - TTY
pseudo terminal slave - PTS