On my Jenkins server, I have a simple test pipeline to check into copying build data to a remote server. 
I'm using the SSH Pipeline Steps plugin.

My code is:

```
            stage('Remote SSH') {              
              steps {     
                sshRemove remote: remote, path: "/mnt/test"
                sshCommand remote: remote, command: "mkdir /mnt/test"                   

                writeFile file: './tst/abc.sh', text: 'ls -lrt'
                sshPut remote: remote, from: './tst/', into: '/mnt/test/.'
            }

```

The result is that in /mnt/test I have the created "tst" folder and it's contents.
What I wanted was just the contents of this tst folder to be transfered to the target.

How should I be formatting the sshPut step?