Random Post :
#2095
SSH to a machine using an SSH bastion (proxy)
ssh -o ProxyCommand="ssh -W %h:%p -q BASTION_USER@BASTION_SERVER" FINAL_USER@FINAL_SERVER
for example :
ssh -o ProxyCommand="ssh -W %h:%p -q root@10.2.3.88" fusion@svc-1
and with additional SSH options :
ssh -o ProxyCommand="ssh -W %h:%p -q -p 8022 -oHostKeyAlgorithms=+ssh-dss root@10.2.3.88" -oHostKeyAlgorithms=+ssh-dss fusion@svc-1
—-
SSHPass
sshpass -p password ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null user@target
Execure command as ssh (using SSH PASS)
sshpass -p password ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null user@target whoami
sshpass -p password ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null user@target cat /etc/hosts
sshpass -p password ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null user@target 'sed -i ...'
How-to, linux, ssh, unix
#751
http://www.domolio.fr/alimenter-des-raspberry-pi-par-le-reseau/
Raspberry Pi
#1567
Olivier | Uncategorized |

L’ami Dodutils m’a envoyé une astuce que je vais partager avec vous ici, et qui en sauvera certains. Si votre ordinateur sous Windows 10 souffle à fond, que la consommation de CPU est en permanence au taquet et que ça vous vide rapidement la batterie, c’est peut-être à cause du process qui gère la compression > Lire la suite
Source: Windows 10 consomme tout le CPU de votre machine ? Voici une astuce pour régler le problème. – Korben
#2235

Remote users can connect to their Windows 10 computers through the Remote Desktop Services (RDP) running on the Pro and Enterprise editions (but not on Home/Single Language). But there is…
Source: How to Allow Multiple RDP Sessions in Windows 10? | Windows OS Hub
RDP, Remote, windows
#2341
Error while inserting large record in DB (uploading large file)
java.sql.SQLRecoverableException: IO Error: Connection reset by peer
Workaround :
-Doracle.net.useZeroCopyIO=false
-Doracle.jdbc.ReadTimeout=1800 (n is in milliseconds)
-Doracle.net.keepAlive=true
Patch : https://support.oracle.com/rs?type=patch&id=25032984
weblogic, WLS