diff --git a/.magic_ssh_config b/.magic_ssh_config
index d67d2989b3b2a48bbd5863b2596e811800061854..3aeb1e2b4323ee9ad611159cb9a4aa28e293e4d9 100644
--- a/.magic_ssh_config
+++ b/.magic_ssh_config
@@ -2,4 +2,7 @@ Host centaur.sch.bme.hu
     StrictHostKeyChecking no
     ControlMaster auto
     ControlPersist yes
-    ControlPath ~/.ssh/socket/%r@%h:%p
\ No newline at end of file
+    ControlPath ~/.ssh/socket/%r@%h:%p
+    KexAlgorithms +diffie-hellman-group1-sha1
+    Ciphers +3des-cbc,aes128-cbc,aes192-cbc,aes256-cbc,aes128-ctr,aes192-ctr,aes256-ctr
+    HostKeyAlgorithms +ssh-rsa