sendSpecial (method)
Sends a special character to the server or remote command.
Syntax
- (void)sendSpecial:(NSString*)specialChar;
public func sendSpecial(_ specialChar: String) throws -> Void
Remarks
Use this method to send a special or control character to the SSH server or the command being executed. Specify the character id via the SpecialChar parameter.
Currently the only supported special character is "eof", which is sometimes used as a way to close the stdin channel gracefully.