Updating SSH Server (sshd) on MacOSX to require both password and public key authentication…

To update the sshd on macosx to require both password and public-key authentication, do the following… Go to /etc/ssh Edit sshd_config and add the following line: AuthenticationMethods publickey,password If the PasswordAuthentication line exists, make sure it is commented out: #PasswordAuthentication yes Restart the server by running these two commands: sudo launchctl unload /System/Library/LaunchDaemons/ssh.plist sudo launchctl load -w /System/Library/LaunchDaemons/ssh.plist

Chilkat v9.5.0.79 Release Notes

The previous version release notes: Chilkat v9.5.0.78 Release Notes Chilkat v9.5.0.79 Release Notes 21-May-2019 HttpResponse: (fixed) The FullMime property did not return the full MIME of the HTTP response. Instead, it returned the BodyStr. 27-May-2019: SFtp, Ssh: Added the LastJsonData method. This provides the ability to get additional information for some method calls. For example, after calling Connect the LastJsonData […]

Chilkat v9.5.0.78 Release Notes

(The previous version release notes: Chilkat v9.5.0.77 Release Notes ) v9.5.0.78 Release Notes 2-April-2019 CkString: The appendHexData method would terminate with an unnecessary LF if the passed in data was a multiple of 16. 2-April-2019 Imap: Fixed a problem parsing IMAP server responses when fetching emails with AutoDownloadAttachments=false where the email is empty without attachments. 2-April-2019 PrivateKey: Fixed a problem […]

RegFree COM / Using OCX Files with SxS Technology in VB6

This blog post serve’s as Chilkat’s bookmark/reminder to this tutorial: http://www.vbforums.com/showthread.php?852949-VB6-Tutorial-Using-OCX-Files-with-SxS-Technology It shows how to use the Chilkat ActiveX DLL with a VB6 application in such a way that the DLL can be located (side-by-side) with the .exe and no Windows registration is necessary. It requires a manifest XML file, which can be downloaded here: https://www.chilkatdownload.com/chilkat_activex_manifest.zip I haven’t actually stepped […]

Chilkat v9.5.0.77 Release Notes (March 2019)

Chilkat v9.5.0.76 Release Notes Chilkat v9.5.0.78 Release Notes v9.5.0.77 Release Notes: Email: The NumRelatedItems property was 1 too large in some cases. Bz2: PercentDone callbacks were not working. MailMan: If the connection is idle for 1 minute or more, the next email sent will automatically use a fresh connection. (When a method to send email is called, such as SendEmail, […]

SSH Authentication Options in sshd_config

The /etc/ssh/sshd_config file has an entry called AuthenticationMethods. Typically you would enter either: to indicate which authentication method should be required. You can also enter: to indicate that either authentication method should be required. You can also enter: to indicate that both authentication methods should be required. If a server requires both publickey and password, then call AuthenticatePwPk. If a […]

Chilkat v9.5.0.76 Release Notes (Dec 2018)

The v9.5.0.75 release notes are available here: Chilkat v9.5.0.75 Release Notes v9.5.0.76 Release Notes: Csr: The Certificate Signing Request class (Csr) now supports ECC based certificates. (bug fix) Xml: For the HasChildWithTag method, if the tagPath ended with array brackets, then the method failed. For example, if the tagPath was “something[i]”, then it did not work. If however, the tagPath […]

GMail SMTP

Question: I am trying to send email via GMail using the SMTP protocol.  I am sending the correct GMail login credentials, but I get this error: … smtpAuthenticate: login_method: LOGIN auth_login: smtpSendGet2: sendCmdToSmtp: SmtpCmdSent: AUTH LOGIN –sendCmdToSmtp readSmtpResponse: SmtpCmdResp: 334 VXNlcm5hbWU6 –readSmtpResponse –smtpSendGet2 sendCmdToSmtp: SmtpCmdSent: *** –sendCmdToSmtp readSmtpResponse: SmtpCmdResp: 334 UGFzc3dvcmQ6 –readSmtpResponse sendCmdToSmtp: SmtpCmdSent: {PasswordOrCredentials} –sendCmdToSmtp readSmtpResponse: SmtpCmdResp: 534-5.7.14 <https://accounts.google.com/signin/continue?sarp=1&scc=1&plt=AKgnsbsG […]

Install 32-bit ActiveX and Verify Install

This post shows how to install the 32-bit Chilkat ActiveX using the 32-bit MSI installer here:   https://www.chilkatsoft.com/downloads_ActiveX.asp Step 1. Download and run the MSI installer. Step 2. In Windows Explorer, navigate to C:\Program Files (x86)\Chilkat Software, Inc\Chilkat 32-bit ActiveX Double-click on CheckChilkatActiveX.exe  You should see the following dialog: Step 3. Choose an ActiveX class from the “Choose an ActiveX Object” dropdown.  For […]