The good news is that if you can configure SSH to reuse an existing connection. This means that for example if you have an SSH shell session running then a new connection for SCP can skip the connection setup phase. Two steps are required:
First, you must create a directory (or ‘folder’) which SSH will use to keep track of established connections:
Next, add these two lines at the start of your ~/.ssh/config (make sure to use your username in place of ‘YOUR-NAME’):
As you can see, a small investment in time setting up your SSH configuration can pay back dividends in convenience.
560 total views, no views today