Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

command line upload file ssh

scp <file to upload> <username>@<hostname>:<destination path>
Comment

ssh upload file to server

scp <path to file to upload> <username>@<hostname>:<destination path>
Comment

upload file ssh terminal

scp -i /path/to/.ssh/id_rsa path/to/file/myFiles.gz myServer.com:/folder/on/server
Comment

upload file ssh

scp [OPTION] [[user@]SRC_HOST:]file1 [[user@]DEST_HOST:]file2
Comment

PREVIOUS NEXT
Code Example
Shell :: add changes from different branch 
Shell :: powershell import module 
Shell :: boot pendrive cmd 
Shell :: batch write file 
Shell :: git show unpushed commits 
Shell :: move all files from one directory to another 
Shell :: install screen recorder linux 
Shell :: terraform remove from state 
Shell :: cant-push-to-github-because-of-large-file-which-i-already-deleted 
Shell :: putty for ubuntu 
Shell :: push git repo to github 
Shell :: removing a git folder 
Shell :: create new file in terminal 
Shell :: batch file if statement 
Shell :: copy from remote server 
Shell :: how to print new line in shell script 
Shell :: how to make NTFS read only file system writable in linux 
Shell :: how to install openvpn connect on ubuntu 20.04 
Shell :: rename multiple files in linux 
Shell :: how to see ip in linux 
Shell :: bash for loop 
Shell :: pytype 
Shell :: sleep in linux command 
Shell :: speedtest cli 
Shell :: cron job 
Shell :: how to switch from master to main 
Shell :: warning: LF will be replaced by CRLF in [file_path] 
Shell :: git fetch upstream from master 
Shell :: k8s roll back to previous deployment 
Shell :: shrink directory name linux 
ADD CONTENT
Topic
Content
Source link
Name
5+4 =