There are two ways to do this: either using a home server or signing up for shell account. Shell accounts are public servers that let you log in to a remote Linux or other operating system command line remotely. They're popular for IRC users who want to keep IRC sessions going for a long time.