From time to time, you might run into tasks like execute commands remotely on different Linux servers regularly, for example collecting logs. A bash script will be handy to do so and likely you will use SSH within the script. Then don't be surprised to see your loop doesn't work any more with SSH in … Continue reading ssh break out while loop?
Tag: SSH
“no hostkey alg” when SSH from Oracle Linux 6 to 8
The other day I talked about SSH issues from OL8 to OL6. If you SSH from OL6 to OL8 and it may fail with the following error: no hostkey alg Or Unable to negotiate a key exchange method On OL6 side, ssh can be put into debug mode to see more information: root@joetest:~# ssh -vvv … Continue reading “no hostkey alg” when SSH from Oracle Linux 6 to 8
SSH “timed out waiting for input: auto-logout”
For a secured Linux system, normally there will be auto logout configured for SSH. It means if your SSH session has no activities for some time configured, the session will be disconnected. It's a problem if you need to run some kind of interative long-running progams because such programs need some imputs in the middle … Continue reading SSH “timed out waiting for input: auto-logout”
Unresolved: EVP_Cipher failed
Recently I've run into the an issue with SCP copying files between two Solaris servers (zones). There were about more than 2000 files with the total size of 7T to copy. Initially SCP was working fine. It's been running for a day or so and copied about 400 files over until it failed saying "Connection … Continue reading Unresolved: EVP_Cipher failed