Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #195074
    sabak01
    Participant

    This command (chmod 700 Downloads/Kali-keypair.pem)doesn’t work on my Windows 10 CLI

    Below is the message I am getting.

    C:\Users\info>chmod 700 Downloads/Kali-keypair.pem
    ‘chmod’ is not recognized as an internal or external command,
    operable program or batch file.

    #195095
    Diego PérezDiego Pérez
    Moderator

    Hi!
    That command is not needed in windows, just keep going on.

    Greetings!
    Diego

    #195159
    sabak01
    Participant

    You said just keep going on, But I am not able to ssh from my Windows to the AWS Kali

    #195409
    Diego PérezDiego Pérez
    Moderator

    Hi!
    What’s the exact error? Can you elaborate? Also some screenshots will help.

    Thanks!
    Diego

    #196345
    sabak01
    Participant

    This is the message I am getting

    C:\Users\info>ssh -i D:/CyberSecurityTesting/AWS/PENETRATION-TESTING/Kali-keypair.pem [email protected]
    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    @ WARNING: UNPROTECTED PRIVATE KEY FILE! @
    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    Permissions for ‘D:/CyberSecurityTesting/AWS/PENETRATION-TESTING/Kali-keypair.pem’ are too open.
    It is required that your private key files are NOT accessible by others.
    This private key will be ignored.
    Load key “D:/CyberSecurityTesting/AWS/PENETRATION-TESTING/Kali-keypair.pem”: bad permissions
    [email protected]: Permission denied (publickey).

    #196641
    sabak01
    Participant

    Never mind

    #196769
    Diego PérezDiego Pérez
    Moderator

    Hi!
    Glad you got it!
    Diego

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.