Ubuntu Unleashed 2019 Edition: Covering 18.04, 18.10, 19.04

(singke) #1

CHAPTER 19


Remote Access with SSH, Telnet, and


VNC


IN THIS CHAPTER


Setting Up  a   Telnet  Server
Telnet Versus SSH
Setting Up an SSH Server
SSH Tools
Virtual Network Computing
References

Controlling your system remotely is one of the cooler things you can do


with Ubuntu: With just a bit of configuration, you can connect from any
Linux box to another computer in a variety of ways. If you just want to check
something quickly or if you have limited bandwidth, you have the option of
using only the command line, but you can also connect directly to the X
server and get full graphical control.


Understanding the selection of tools available largely involves a history
lesson. For example, Telnet was an earlier tool for connecting to another
computer through the command line, but it has since been superseded by
Secure Shell (SSH). That is not to say that you should ignore Telnet; you need
to know how to use it so you have it as a fallback. However, SSH is preferred
because it is more secure. This chapter covers both, as well as Virtual
Network Computing (VNC).


Setting Up a Telnet Server


Telnet is an older service. The client is part of the default Ubuntu installation,

Free download pdf