77.8 SSH Simple Usage

ssh is a client-server program where your client (on your local host) connects to a remote ssh server (running on the remote host), requiring that ssh be installed on both hosts. (Many systems now run ssh.) You need to know the password of the account you wish to connect to on the remote host. Once connected all communications between the two hosts is securely encrypted.

Connect to a remote host simply by issuing the appropriate ssh command. To connect as user kayon to a remote host alpine.togaware.com or to copy files from your local host to kayon’s account at the remote host you can simply:

$ ssh kayon@alpine.togaware.com
$ scp file.name kayon@alpine.togaware.com:remote.file.name

Your donation will support ongoing development and give you access to the PDF version of this book. Desktop Survival Guides include Data Science, GNU/Linux, and MLHub. Books available on Amazon include Data Mining with Rattle and Essentials of Data Science. Popular open source software includes rattle, wajig, and mlhub. Hosted by Togaware, a pioneer of free and open source software since 1984. Copyright © 1995-2021 Graham.Williams@togaware.com Creative Commons Attribution-ShareAlike 4.0.