Viewing 10 posts - 1 through 10 (of 10 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

    #198891
    jayone
    Participant

    I have submitted my issue but do not see anything?

    #198892
    jayone
    Participant

    My 2nd time writing this issue.

    I am currently stuck on lecture 2.4
    Communicating with cloud computers.

    When I am running the command:
    “ ssh -i downloads/Kali-keypair.pem [email protected]” to connect to the machine.

    I get :
    [email protected]: permission Denied (publickey,gssapi-keyex,gssapi-with-mic).

    I don’t know why this is not working as I have done everything exactly how zaid is doing it.

    I am using a hp windows 10.
    I have tried submitting a image but it didn’t send.

    #198994
    Diego PérezDiego Pérez
    Moderator

    Hi!
    You are typing kali with capital K and it won’t work. Pay attention to what Zaid is typing and use the same syntax. Also, open a new thread to avoid spamming the original poster with your questions.

    Greetings!
    Diego

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