Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

copy file from ssh server to local

scp host_name:file_server path_local
Comment

how to copy file using ssh

# This need to be done in server side only
$ sudo apt install openssh-server
$ sudo systemctl enable ssh
$ sudo systemctl start ssh
# Need to be done in client side only
$ scp myfile.txt remote_user@remote_ip_address
Comment

copy file from ssh to local windows

pscp.exe username@remoteHost:/remote/dir/file.txt d:
Comment

copy a file from local to ssh

# Syntax:
scp <source> <destination>

# To copy a file from B to A while logged into B:
scp /path/to/file username@a:/path/to/destination

# To copy a file from B to A while logged into A:
scp username@b:/path/to/file /path/to/destination
Comment

ssh usage copy file

cp original_file new_file
Comment

PREVIOUS NEXT
Code Example
Shell :: v-restore-user command not found 
Shell :: find application path ubuntu 
Shell :: check lines of code added removed by a specific user 
Shell :: how to make wsl backup 
Shell :: ssh timeout option 
Shell :: ping list of ip addresses powershell 
Shell :: anaconda install pyinstaller 
Shell :: where are ubuntu files stored in windows 10 
Shell :: vscode disable powershell integrated console 
Shell :: vlc linux 
Shell :: install virtualbox ubuntu 20 wsl command line 
Shell :: ubuntu extract rar file 
Shell :: delete remote git branch 
Shell :: how to install sdkman linux command line 
Shell :: Pub installs executables into $HOME/.pub-cache/bin, which is not on your path. 
Shell :: install crossover in linux 
Shell :: how to install npm and node js ubuntu 
Shell :: global gitignore 
Shell :: add ssh to already cloned repo 
Shell :: how to get kafka version 
Shell :: cmd taskkill 
Shell :: redis-cli port host 
Shell :: heroku see all logs 
Shell :: pm2 adonisjs 
Shell :: connect to specific wifi device linux 
Shell :: ssh operation timed out mac 
Shell :: see what user a process is running as 
Shell :: how to add new origin in git 
Shell :: pm2 start yarn 
Shell :: bash substring test 
ADD CONTENT
Topic
Content
Source link
Name
8+1 =