fingerprint

Login

call

Contact

help

Help

SCP: Send file to remote host

2 ratings
transfer filewindows to linuxscpposh-sshfilecopy

What it does

Kopiert von einem Windows System eine Datei via SCP zu einem Linux Host. In diesem PowerShell Script wird immer die letzte Datei (LastWriteTime) von einem vorher definierten Verzeichnis auf ein Linux System übertragen. Das Modus Posh-SSH wird verwendet.

Description

Sending a file to remote linux host via SCP. This resource takes the last file from a local folder and send it with SCP. Module POSH-SSH is required.

Creation Details

  • Author: Sebastian Renners
  • Created: 01.04.2021 12:26:47
  • Last modification: 01.04.2021 13:10:59
Resource Image:

Input Parameters

Name: remotehost

Description: Enter the remote linux host name (or IP) as a destination for the file copy.

Name: remoteusername

Description: Enter the ssh user for this remote linux host.

Name: remotepath

Description: Enter the remote directory path you want to copy the file in. Use the unix notation: "/home/example/".

Name: localpath

Description: Enter the local path you want to scan for the last file (sort by lastwritetime). Use the windows notation (C:\folder\)

Resource Parameters

No resource parameters set

Rating

login and obtain the library resource to set a rating.