naveen 是否有权读取该文件?还尝试编辑authorized_keys,使密钥中没有最后一个字符串(密钥后面的“someone@somwhere”)。因此,而不是例如:
SSH-RSA AAAAB3NzaC1yc2EAAAADAQABBAABAQC5IA9w8Knc9YFJZHvRiyZHv7XWXjRgCkLMQdj3LG1pDL8N + 7g8C3TB7apA8JqmSs + 8YyogN5UzIL1mFz4h1kRvmEcJuoSq + S5 + X8aVL0V5qXmcN + TDSevELUpkFm /米/ d2RuJAC6 + 1Eih4PbaGQ0tDVjyBWkgQwbmUNstn3YmdIcavm3z9cPVPIdRGzznLmndOxXOkcMFb32ESuc5NMNKNLcKnzbzyHhXS7JoeKGarTlhmmch7icoRivBWZIWBrdITy6KxkZN8ZSEU1jd6F7WQx1qWO0oEMHrEHnGN4wgi1CZuJTMHXzJbfKc1k91ivb8yh / OK6 + iydBNFj94yqAwAD为myuser @ MYPC-的EasyNote-TE11HC
你应该有这个:
SSH-RSA AAAAB3NzaC1yc2EAAAADAQABBAABAQC5IA9w8Knc9YFJZHvRiyZHv7XWXjRgCkLMQdj3LG1pDL8N + 7g8C3TB7apA8JqmSs + 8YyogN5UzIL1mFz4h1kRvmEcJuoSq + S5 + X8aVL0V5qXmcN + TDSevELUpkFm /米/ d2RuJAC6 + 1Eih4PbaGQ0tDVjyBWkgQwbmUNstn3YmdIcavm3z9cPVPIdRGzznLmndOxXOkcMFb32ESuc5NMNKNLcKnzbzyHhXS7JoeKGarTlhmmch7icoRivBWZIWBrdITy6KxkZN8ZSEU1jd6F7WQx1qWO0oEMHrEHnGN4wgi1CZuJTMHXzJbfKc1k91ivb8yh / OK6 + iydBNFj94yqAwAD ==
编辑:只是一个快速信息-在密钥末尾添加“==”后,您可以将计算机名称放回原处-双等号在密钥注释之后结束密钥和内容(谁的密钥是它等等..)