70174883

Date: 2021-11-30 19:23:58
Score: 7 🚩
Natty:
Report link

Windows has issues. i hav tried the following :
1 - while trying on windows using CMD and PowerShell- same issue is there.
2 - after changing file permission using git bash and trying with putty,cmd,powershell - same issue
3 - while using putty with private key for auth ( even after changing file permission ) - same issue
4 - using git bash - was able to login without any issue. Had changed permission as per @Shri_Automation

Remove user permissions

chmod ugo-rwx abc.key

Add permission only for that user

chmod u+rw abc.key

run chmod 400

chmod 400 abc.key

4.Now try ssh -i for your instance

is there any easier way to do this??

Reasons:
  • Blacklisted phrase (1): is there any
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2): same issue
  • Ends in question mark (2):
  • User mentioned (1): @Shri_Automation
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: thinktechtv