Differences

This shows you the differences between the selected revisions of the page.

library_session_executecommand 2017-12-05 library_session_executecommand 2022-06-16 (current)
Line 31: Line 31:
With SFTP protocol, that does not allow execution of arbitrary remote command, separate [[shell session]] will be automatically opened. With SFTP protocol, that does not allow execution of arbitrary remote command, separate [[shell session]] will be automatically opened.
-Not supported with WebDAV protocol.+Not supported with WebDAV and S3 protocols.
The command must not require user input. The command must not require user input.
===== [[example]] Example ===== ===== [[example]] Example =====
 +
==== [[csharp]] C# Example ==== ==== [[csharp]] C# Example ====
<code csharp> <code csharp>
Line 54: Line 55:
                UserName = "user",                 UserName = "user",
                Password = "mypassword",                 Password = "mypassword",
-                SshHostKeyFingerprint = "ssh-rsa 2048 xx:xx:xx:xx:xx:xx:xx:xx..."+                SshHostKeyFingerprint = "ssh-rsa 2048 xxxxxxxxxxx..."
            };             };
Line 105: Line 106:
                .UserName = "user"                 .UserName = "user"
                .Password = "mypassword"                 .Password = "mypassword"
-                .SshHostKeyFingerprint = "ssh-rsa 2048 xx:xx:xx:xx:xx:xx:xx:xx..."+                .SshHostKeyFingerprint = "ssh-rsa 2048 xxxxxxxxxxx..."
            End With             End With
Line 154: Line 155:
        UserName = "user"         UserName = "user"
        Password = "mypassword"         Password = "mypassword"
-        SshHostKeyFingerprint = "ssh-rsa 2048 xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx"+        SshHostKeyFingerprint = "ssh-rsa 2048 xxxxxxxxxxx..."
    }     }

Last modified: by martin