The Linux server VM also runs Debian 10 and its hostname is set to debianvm. I run Debian 10 on this PC and its hostname is set to tinka. My trusty Lenovo Thinkpad T450s serves as the Desktop PC. Below you can find an illustration of the system setup: Instead of setting up a cloud server somewhere for this article (think Digital Ocean or Linode for example), I decided on running a Linux server as a virtual machine (VM) on my laptop. System setupĪ typical system setup consists of your Linux desktop PC, connected to your local network router, and a remote Linux server somewhere in the cloud. Namely, by using the scp and rsync programs. This article presents you with two of these methods. Luckily though, several methods exist that enable you to copy files via SSH. Unfortunately, you cannot directly transfer a file from your own PC to your remote Linux server through this active SSH terminal session. So you SSH-ed into your server and you are staring at your terminal screen, wondering how to go about this task. While administering you Linux server, sooner or later you run into a situation where you have a file on your own Linux PC and you need to transfer this file to your Linux server. Through SSH you can install, configure and update software on your Linux server, to name just a few common Linux server administration tasks. SSH enables you to securely log in and access your Linux server over an unsecured network. Once you have your own Linux server up and running, you typically access it through SSH. One based on the scp program and one based on the rsync program. It presents two methods for achieving this file transfer in a secure way. Do you have a file on your Linux PC that needs to be transferred to your Linux server and you are not sure how to do this? This article teaches you how to copy files via SSH to your remote Linux server.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |