MobaXterm and the Preferred Authentications.

 Some months ago a co-worker suggested this application as it is very practical and saves you time if you need to setup a X server on Windows (like Xming), transfer files, etc.

Everything was working fine until the last version that came available (I think it was probably version 21.1 or the next after that). when it started to request the password three times if you try to connect using ssh to a host running with Solaris.

My first theory was that the ssh package was upgraded on all the hosts as OS upgrade was done but that was not happening with other applications like "putty.exe", so that was discarded.

Then considered that by mistake I applied a change to the MobaXterm settings but nothing was different and even applying changes the original issue was present.

After a lot of research one of the suggestions (sorry, lost the page and I hope to find it again to give the credits) worked for me, so here are the steps:

 

1.- Inside your "moba home" create ~/.bashrc (if that file doesn't exists)
and add this line:
/bin/cp -p /etc/my_ssh_config /etc/ssh_config

2.- Edit /etc/ssh_config and comment the following line:
#PreferredAuthentications hostbased,publickey,password,keyboard-interactive
 

Now copy and paste the same line but change the order of the "Preferred Authentications" leaving "keyboard-interactive" as your first option:

PreferredAuthentications keyboard-interactive,hostbased,publickey,password


3.- Copy your ssh config file to a new file
/bin/cp -p /etc/ssh_config /etc/my_ssh_config


4.- Try to connect again to the Solaris host, you should be fine now :) 




Amigo organillero

 Hoy por la tarde, un par de personas estaban recorriendo la zona con un organillo montador sobre un... ¿carrito?, no sabría que descripción darle.





Lo importante es que nos alegraron la tarde con diversas canciones, para salir de la monotonía causada por la pandemia y ellos pudieron recolectar algo de dinero de los vecinos que salieron.

Unsigned application requesting unrestricted access to system.

 This week I had to work with an appliance and had to launch a remote console via ilom but everytime I tried the following window was displayed:


So, I did a search for
"The following resource is signed with a weak signature algorithm MD5 with RSA and is treated as unsigned" and found three links

https://www.blackmoreops.com/2017/06/08/fix-java-error-unsigned-application-requesting-unrestricted-access-to-system/
https://learningintheopen.org/2017/11/03/java-jnlp-error-weak-signature-algorithm-md5withrsa/
and
https://www.cyberciti.biz/datacenter/bmc-ipmi-kvm-java-applets-broken-with-java-security-update/

basically one has to comment out a line containing the words "jdk.jar.disabledAlgorithms"

to the file on a similar path on my system (I'm using Win10 and the latest java version available)

C:\Program Files (x86)\Java\jre1.8.0_261\lib\security\java.security

The line I found is: jdk.jar.disabledAlgorithms=MD2, MD5, RSA keySize < 1024, DSA keySize < 1024

After I commented out the line and saved the changes (as Administrator, otherwise you can not save the changes to the file) I was able to launch the console but after a few seconds I received a second error message saying:

protocol is disabled or cipher suites are inappropiate java

Another search lead me to

https://talesfromthedatacenter.com/2015/05/ilom-error-no-appropriate-protocol-protocol-is-disabled-or-cipher-suites-are-inappropriate/

explaining that another line on the same file needs to be commented out too containing the words
"jdk.tls.disabledAlgorithms=SSLv3"

On my system again the line suggested looks like this:

jdk.tls.disabledAlgorithms=SSLv3, RC4, DES, MD5withRSA, DH keySize < 1024, \
EC keySize < 224, 3DES_EDE_CBC, anon, NULL

After I commented the lines, launched the console again and worked fine 100%.

The alternative is to download/install older versions of java, there's another page with more details about this:

https://www.java.com/en/configure_crypto.html

For me, is faster to edit/save the file, launch the console, get the work done and revert the changes to the file.


Oracle Certified! Oracle Cloud Infrastructure - Foundations Associate 2020

So, after some weeks learning about the Oracle Certification "Oracle Cloud Infrastructure - Foundations Associate"  I'm officially certified!


Let's see what else I'm going to learn later. :)

New led fans Eagle Warrior

It was time to make the PC a little more fun and decided to buy a couple of led fans, the brand is "Eagle Warrior" which is a Mexican brand of gamer products.

 

You can reach them via:  www.eaglewarrior.net / https://twitter.com/eaglewarriormx?lang=en  


These is the look of the brand:



And how the PC looks now:


So far so good, both working and look great!

Hardware upgrade for Laptop Gateway M-6806m

I'm doing a hardware upgrade to this  old  laptop by upgrading the RAM from 2G to 4G, removing the DVD and adding a caddy to store the original hard drive were the DVD was and a new SDD to install the OS instead of the original HDD.


The caddy I gouth is a PATA IDE to SATA, 12.7mm to connect the original HDD, which you can see over the DVD and the SSD already connected and protected by that metal "cage" to the left.

Now, you can see the original RAM installed and the new 4G protected with the envelops they were sent by the provider:



And now, these are the brand new 4G RAM installed:



 Now, this is how it looks the caddy taking the place and simulating being the DVD (at the bottom):



The old BIOS detects the new RAM installed:



But I had a problem with the BIOS to put the SSD as the primary boot device and the HDD as secondary,  somehow the HDD went to the "bottom" of the options and it was complicate to put it below the SSD.



When I finally got the drives in the boot order as I wanted, there were issues with the RAM while I was doing tests, so I had to use memtest to confirm one of them was defective, I reached the provider who confirmed the memtest results I ran and send the replacement a few days later.

Finally with the new hardware, this is how it looks running:

The laptop came with Windows XP and now it is running Linux Mint, not sure if it will remain installed, maybe I'll reinstall it with Debian, not sure yet but I'm looking to get a graphical environment that does not consume too much resourcers and don't require too much time doing settings.

 

A couple of links I used to research to find the correct caddy:

http://www.2ndhddcaddy.co.uk/gateway-m-6806m-2nd-hdd-hard-drive-caddy.html

https://www.manualslib.com/manual/432038/Gateway-M-6801mt.html?page=123#manual

// Cookie consent