November 19

Remove every second carriage return starting from line two – OWA copy text issue

Using an application like Notepad++

Use Regular Expression mode. You will search for a carriage return (Windows uses \r\n as a carriage return), some text, and then another carriage return. The replace with will give you back only the stuff in the parenthesis. Make sure you run “Replace all” as I did not test on replacing one at a time.

Find what:     (\r\n.*)\r\n
Replace with:  \1

By: jeubank12

Category: Uncategorized | Comments Off on Remove every second carriage return starting from line two – OWA copy text issue
July 17

ssh: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1

If you run into a key exchange issue with ssh it probably means the server you are connecting to has an older cipher.

To fix a diffie-hellman-group1-sha1 problem try the following command:

ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 “server-ip”

You can do the same thing with other ciphers by replacing diffie-hellman-group1-sha1 with the offending cipher type.

Category: Uncategorized | Comments Off on ssh: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1