DisconnectNow
Immediately terminates connection. You can use this function from event
handlers. For example if you found that keys supplied by SSH servers are wrong.
See OnAbsentFingerprint and OnDifferentFingerprint.
SendFile and ReceiveFile automatically terminate the connection after
transmission is complete.
|