Advertisement
stuartclennett

SecureBridge Connect Code

Dec 16th, 2020
237
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Delphi 0.40 KB | None | 0 0
  1.  
  2.   ScSSHClient1.HostName := '194.110.243.196';
  3.   // this is the system user with SSH access set to bin/bash
  4.   ScSSHClient1.User := 'emsb1';
  5.   ScSSHClient1.Password := '';
  6.   ScSSHClient1.Authentication :=  atPublicKey;
  7.   ScSSHClient1.PrivateKeyName := 'emsb2';
  8.   ScSSHClient1.HostKeyName := 'emsb2';
  9.   ScFileStorage1.Password := ''; // ? what is this I wonder ?
  10.   ScSSHClient1.Connect; // fails here.
  11.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement