Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
en:services:application_services:high_performance_computing:connect_with_ssh:common_problems [2020/12/03 08:10] – created | en:services:application_services:high_performance_computing:connect_with_ssh:common_problems [2021/12/06 11:41] (current) – [Windows] | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Common SSH Problems ====== | ||
+ | This page addresses some regularly occurring problems and questions regarding connecting via SSH. | ||
+ | ===== Warning: unprotected key file! ===== | ||
+ | If you get a message like this: | ||
+ | < | ||
+ | @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ | ||
+ | @ | ||
+ | @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ | ||
+ | Permissions 0777 for ' | ||
+ | It is required that your private key files are NOT accessible by others. | ||
+ | This private key will be ignored. | ||
+ | mboden@login-fas.hpc.gwdg.de: | ||
+ | </ | ||
+ | |||
+ | This indicates that the file permissions og your private key file are too open. It has nothing to do with the password set on the SSH-key itself. The solution is to make the key only readable to your own user with: | ||
+ | '' | ||
+ | |||
+ | You can verify it by either trying to log in again, or use '' | ||
+ | < | ||
+ | ls -l ~/ | ||
+ | -rw------- 1 marcus marcus 1766 Jun 13 2018 / | ||
+ | </ | ||
+ | |||
+ | The '' | ||
+ | ==== Windows ==== | ||
+ | If you tried changing the file permissions and you still cannot connect, please veryfy with '' | ||
+ | < | ||
+ | mkdir -p ~/.ssh/ | ||
+ | cp < | ||
+ | chmod 600 ~/ | ||
+ | ls -l ~/ | ||
+ | </ | ||
+ | The last command is to verify the permissions of the key. If all that still doesn' |