How to fixt Permission denied (publickey,password) or Permission denied, please try again.

Поділитися
Вставка
  • Опубліковано 22 сер 2024
  • Fix Permission denied (publickey,password) or Permission denied, please try again.
    While using Linux, you may encounter the error, “#permission denied”. This error is encountered when the user does not have the privileges to make edits to a file. ... permissions define if the user can read, write, or execute the file. They can be represented using symbolic or octal numbers.
    How to fixt Permission denied (publickey,password)
    Change your root passworod
    if not working than
    settign sshd_config
    sudo vi /etc/ssh/sshd_config
    press insert insert
    PermitRootlogin yes
    press escap & :x Enter
    sudo systemctl reload sshd
    OR
    1.First Checking have Install SSH
    2.Not Install SSH than Installed it's
    3.SSH Restart
    4.SSH Enable.
    5.Checking SSH Status .
    6. Must Be Active (Status Running)
    error: Permission denied
    Change Your User go to Root User:-
    $sudo -i
    Install SSH :-
    sudo apt-get update
    sudo apt-get install ssh
    systemctl restart ssh.service
    systemctl enable ssh.service
    systemctl status ssh.service
    #denied publickey password
    #permission denied please try again
    #sshpermission denied
    #silentsolution

КОМЕНТАРІ • 139

  • @limeblaze
    @limeblaze 3 роки тому +9

    hey everyone, this guy saved my life when I stuck. He fixed my problem by remote my pc and I think You can trust him to fix your problem.

  • @tiberiumirica8445
    @tiberiumirica8445 5 місяців тому +1

    thanks man. been checking 10 "guides" on how to set up the ssh. Not even one tutorial mentioned that you should not have "#" for the PermitRootLogin. Also all of the tutorials fail to mention that you can edit the config file by going to the ssh folder location, open the folder as root, and simply edit the config file with text editor.

    • @SilentSolution
      @SilentSolution  5 місяців тому

      You are most welcome please share this video and like subscribe me

    • @SilentSolution
      @SilentSolution  5 місяців тому

      Please share this video and like subscribe me

  • @ryanshatch
    @ryanshatch Рік тому +5

    i cant hear anything?

    • @SilentSolution
      @SilentSolution  Рік тому +1

      Really I am apologize for this inconvenience but I am facing this type of people same way solution this video.

  • @christosbinos8467
    @christosbinos8467 6 місяців тому +1

    This video solved my issue and I couldn't find a solution anywhere else. Thank you.
    Though i also have to say its also the worst tutorial I've ever seen 🤣🤣 and yet it saved my life.

    • @SilentSolution
      @SilentSolution  6 місяців тому

      Thank you for your compliment please share this video and like subscribe me 🙏

  • @dariocastaneda2530
    @dariocastaneda2530 4 місяці тому +1

    You wrote “than” the correct term is “then”

    • @SilentSolution
      @SilentSolution  4 місяці тому

      Thanks for your information and cooperation

  • @seanlee566
    @seanlee566 Рік тому +1

    This guy just saved my life by typing with his eyes closed

    • @SilentSolution
      @SilentSolution  Рік тому +1

      Thanks for your compliment please share this video and like subscribe me 💕

  • @xLazyOne1
    @xLazyOne1 6 місяців тому +1

    Thanks you very much!!! This is the only way out of many that has really helped me.

    • @SilentSolution
      @SilentSolution  6 місяців тому

      Thanks for your compliment please share this video and like subscribe me 🙏

  • @robbymewhorter8258
    @robbymewhorter8258 20 днів тому +1

    how do it get to the point with the money sign my terminal still shows the user

    • @SilentSolution
      @SilentSolution  19 днів тому

      But I am facing this type of problem same way solution this video

  • @sunnysinha7936
    @sunnysinha7936 Рік тому +1

    thanks.. worked for me after investing 2 days in it.

    • @SilentSolution
      @SilentSolution  Рік тому

      You are most welcome please share this video and like subscribe me ❤️

  • @omerguzel8351
    @omerguzel8351 Рік тому +1

    I am getting such an error:
    sudo systemctl reload sshe
    Failed to reload sshe.service: Unit sshe.service not found.
    Could you help me with that?

    • @SilentSolution
      @SilentSolution  Рік тому

      Please see this video and follow discription...

  • @LankalapalliManojme23b111
    @LankalapalliManojme23b111 4 місяці тому +1

    sir,after typing systemctl reload sshd its saying sshd service not found.pls help

    • @SilentSolution
      @SilentSolution  4 місяці тому

      I think SSH need to enable...ua-cam.com/video/ozKtuzIHdLU/v-deo.htmlsi=ZRn4KK4R0x79y62u

  • @rhari9496
    @rhari9496 Рік тому +1

    while trying to ssh into windows from linux, I am getting the error mentioned in the video. Please help to solve, sir.

    • @SilentSolution
      @SilentSolution  Рік тому

      If window to Linux serve SSH connect must have ssh server enable and running aslo sometimes allowed ssh service firewall allowed port and service ..ua-cam.com/video/_eyMUtMiCWg/v-deo.htmlsi=uaWhJ3B_HCh4YjKd

    • @rhari9496
      @rhari9496 Рік тому

      @@SilentSolution Thank you for the reply. But the given link shows ssh'ing into a linux server from windows. But I am trying to get into a windows computer by using ssh command on a linux server. This is the error shown after the password is typed three times: Permission denied (publickey,password,keyboard-interactive)

  • @ArchanaSingh-yz9gi
    @ArchanaSingh-yz9gi 2 роки тому +2

    Hey can you help,I am getting permission denied error?

    • @SilentSolution
      @SilentSolution  2 роки тому

      I have facing problems same way solution. please see this vedio and discricription

  • @damienretro4416
    @damienretro4416 2 роки тому +1

    Didn't work

    • @SilentSolution
      @SilentSolution  2 роки тому +1

      Really I am apologize for this inconvenience. But when I am facing problems same way solution this my dear friend ❤️ please see this vedio and discricription follow..

  • @sudhavasi4455
    @sudhavasi4455 2 роки тому +1

    Iam facing one issue about public key is not available please help me

    • @SilentSolution
      @SilentSolution  2 роки тому

      Thanks for your information. My dear please see this vedio and discricription follow.. I am facing problems same way solution this my dear friend..

  • @JuanHerrera-ly9fc
    @JuanHerrera-ly9fc 2 роки тому +1

    Hello i have problem with virtualbox macbook pro, i am doing diferents process but no have answer, allway say no conecction. please can you help me please. Thans

    • @SilentSolution
      @SilentSolution  2 роки тому +1

      Thanks for Your information.. But i am facing problem same way solution this..place see my video and description...

    • @JuanHerrera-ly9fc
      @JuanHerrera-ly9fc 2 роки тому +1

      @@SilentSolution thanks your video is good now o Will follow you

    • @SilentSolution
      @SilentSolution  2 роки тому

      @@JuanHerrera-ly9fc are u Most welcome please share this like subscribe me..

  • @ismaeladriannnn
    @ismaeladriannnn 14 днів тому +1

    Hi, I just modified from my Virtual Ubuntu the sshd_config file by adding "PermitRootLogin Yes", "AllowUsers ismaelsanchez"; I have restarted the ssh but the root is not able to get access by using ssh. Also, if I perform this action in my Windows cmd as "ssh root@xx.xx.xx.xx" it is mentioning "ssh: connect to host xx.xx.xx.xx port 22: Connection timed out". I do not understand what else to review. Could you please help me out? Thanks a lot for your support

    • @SilentSolution
      @SilentSolution  14 днів тому

      Please try to your user ismaelsnachez.. ssh login

    • @ismaeladriannnn
      @ismaeladriannnn 14 днів тому +1

      @@SilentSolution It worked in Ubuntu VirtualBox but when logging ssh in Windows cmd this message is still appearing "ssh: connect to host xx.xx.xx.xx port 22: Connection timed out" What is the real issue I need to review? Thanks for your help.

  • @impostercoding
    @impostercoding 6 місяців тому +1

    Why can't I type? Vim works for me on every other OS but this one?

    • @SilentSolution
      @SilentSolution  6 місяців тому +1

      Thank need installation vim u can try vi

    • @impostercoding
      @impostercoding 6 місяців тому

      @@SilentSolution, thank you. I did indeed cave that issue. I restarted my whole process and it seemed to work. Not sure why LOL

  • @JaMeM-zf8hc
    @JaMeM-zf8hc 3 роки тому +4

    Thank You for this one line in the document!!!

    • @SilentSolution
      @SilentSolution  3 роки тому

      Are you most welcome ❤️ my dear friend ❤️ please like ,comment and subscribe

    • @jaggisinghvlogs600
      @jaggisinghvlogs600 2 роки тому

      brother what command use

  • @wassellaouini
    @wassellaouini Рік тому +1

    thanks man it worked been stuck for 3 days in this

    • @SilentSolution
      @SilentSolution  Рік тому

      You are most welcome please share this video and like subscribe me

  • @riangdo3222
    @riangdo3222 2 роки тому +2

    I have edited the lines in powershell but dont know how to save it and go back to root directory, what keys do i need to press after editing sshd_config? Please reply.

    • @SilentSolution
      @SilentSolution  2 роки тому +1

      Please see this vedio and discricription follow. I have facing problems same way solution this my dear friend ❤️ please 🙏 try again

    • @riangdo3222
      @riangdo3222 2 роки тому +2

      @@SilentSolution after editing the line how to save it using windows powershell terminal, how to do :x enter?

    • @assbinc
      @assbinc 2 роки тому

      @@riangdo3222 ctrl x and enter

  • @TungNguyen-xw4hr
    @TungNguyen-xw4hr 2 роки тому +1

    How can fix in windows bro

  • @jaggisinghvlogs600
    @jaggisinghvlogs600 2 роки тому +1

    how to save file

  • @matii6575
    @matii6575 3 роки тому +1

    it's working, before I didn't used [hostname]@[ip address ] xd thank you!

  • @jaggisinghvlogs600
    @jaggisinghvlogs600 2 роки тому +1

    space problem

  • @bujjibobby171
    @bujjibobby171 Рік тому +1

    Hello,
    I am facing same issue public key permission denied
    Can you please help ?

    • @SilentSolution
      @SilentSolution  Рік тому

      ua-cam.com/video/__X7Yyqk_9Y/v-deo.html

    • @SilentSolution
      @SilentSolution  Рік тому

      Please check this video I think it's solve your problem...

  • @juansuarez3972
    @juansuarez3972 Рік тому

    Change the password has fixed my error! good video

    • @SilentSolution
      @SilentSolution  Рік тому

      Thanks for your compliment please share this video and like subscribe me.

  • @mostakinratul9720
    @mostakinratul9720 4 місяці тому

    This guy is a life saver

    • @SilentSolution
      @SilentSolution  4 місяці тому

      Thank you for your compliment please share this video and like subscribe me

  • @TrinityRed
    @TrinityRed Рік тому +1

    Help please. After sudo vi etc/ssh/sshd_config (ex password used, new doesn't work) I have an unwritten screen. Why ??? TY

    • @SilentSolution
      @SilentSolution  Рік тому

      Please check your SSH service have installation.. systemctl status sshd. if not than must be installation.

    • @TrinityRed
      @TrinityRed Рік тому +1

      @@SilentSolution Done it's ok. But I have "The eth0 interface is down" after a network test. Any idea please ?

    • @SilentSolution
      @SilentSolution  Рік тому

      @@TrinityRed u can active and deactivate your go to nmtui command if not working again delete your configuration also again configuration ..nmcli connection up eth0

    • @TrinityRed
      @TrinityRed Рік тому

      @@SilentSolution Any video or protocole please ? Connexion at 127...... failed ;( I'm really tired TY

    • @TrinityRed
      @TrinityRed Рік тому

      local ssh, it's OK. Network-test : eth0 is down. A wget: connexion failed. I need something easy to follow please.

  • @mohammedbodrees4475
    @mohammedbodrees4475 3 роки тому +1

    How can I do it on macbook, which keys should I press after the command? Thanks

    • @SilentSolution
      @SilentSolution  3 роки тому

      Need ufw allow pot 22 also reload ufw started enable

  • @shunbin8751
    @shunbin8751 2 роки тому +1

    Is it safe for me to do "sudo passwd" in the my own VM in a dev server? Will it affect the password to all VMs in the same dev server or just my VM which I'm in.

  • @poornimasridhar5011
    @poornimasridhar5011 3 роки тому +1

    hi i am getting error permission denied while doing scp from jenkins public line script.Added public key to remote server.But i can able to ssh .Only problem with scp...Please help me...

    • @SilentSolution
      @SilentSolution  3 роки тому

      Are you most welcome ❤️ my dear friend. 1.First Checking have Install SSH
      .Not Install SSH than Installed it's
      3.SSH Restart
      4.SSH Enable.
      5.Checking SSH Status .
      6. Must Be Active (Status Running)
      error: Permission denied
      Change Your User go to Root User:-
      $sudo -i
      Install SSH :-
      sudo apt-get update
      sudo apt-get install ssh
      systemctl restart ssh.service
      systemctl enable ssh.service
      systemctl status ssh.service

    • @SilentSolution
      @SilentSolution  3 роки тому

      ua-cam.com/video/m7DpSQOp07U/v-deo.html

    • @poornimasridhar5011
      @poornimasridhar5011 3 роки тому +1

      @@SilentSolution These needs to be checked in local or remote.My local is Mac and remote is ubuntu.Thanks a lot for your reply...

    • @SilentSolution
      @SilentSolution  3 роки тому

      @@poornimasridhar5011 are you most welcome ❤️ my dear brother

    • @SilentSolution
      @SilentSolution  3 роки тому

      @@poornimasridhar5011 ua-cam.com/video/9zszQIODHNM/v-deo.html .. Mac OS SSH

  • @jamesconer4439
    @jamesconer4439 3 роки тому +1

    i guess changing the password worked for me? But i am using iproxy and its showing the permission denied error.

    • @SilentSolution
      @SilentSolution  3 роки тому

      please see this and follow 1.First Checking have Install SSH
      2.Not Install SSH than Installed it's
      3.SSH Restart
      4.SSH Enable.
      5.Checking SSH Status .
      6. Must Be Active (Status Running)
      error: Permission denied
      Change Your User go to Root User:-
      $sudo -i
      Install SSH :-
      sudo apt-get update
      sudo apt-get install ssh
      systemctl restart ssh.service
      systemctl enable ssh.service
      systemctl status ssh.service

    • @jamesconer4439
      @jamesconer4439 3 роки тому +1

      @@SilentSolution okay on my other terminal i typed the following"iproxy 2222 44" to connect to my ipad on ssh and on my other terminal windows i typed the following"sudo -i" and after that it says "root@name-HP-15-Notebook-PC:~# " then i typed in the following in the command line "ssh root@127.0.01 -p 2222" and once i press enter it says "ssh_exchange_identification: read: Connection reset by peer" any solution?

    • @SilentSolution
      @SilentSolution  3 роки тому

      @@jamesconer4439 you have changed your ssh default port /?

    • @jamesconer4439
      @jamesconer4439 3 роки тому

      @@SilentSolution i think the default one was port 22, but some how i got it to work? Now i can ssh into the device i want to

    • @jamesconer4439
      @jamesconer4439 3 роки тому +1

      @@SilentSolution it has to be the mdm that was blocking it from doing it

  • @jaggisinghvlogs600
    @jaggisinghvlogs600 2 роки тому +1

    edit problem how to confirm

    • @SilentSolution
      @SilentSolution  2 роки тому

      Please see this vedio and discricription follow

  • @joeshelby3352
    @joeshelby3352 Рік тому +1

    how about mac?

    • @SilentSolution
      @SilentSolution  Рік тому

      I don't know.Really I am apologize for this inconvenience .

  • @ashutoshkumar2236
    @ashutoshkumar2236 Рік тому +1

    how to do it on windows???

    • @SilentSolution
      @SilentSolution  Рік тому

      I don't know but I am solution my Linux serve...

    • @ashutoshkumar2236
      @ashutoshkumar2236 Рік тому

      @@SilentSolution i have ubuntu with cyber panel, on connecting using ssh permission denied error is coming. Is there any solution

  • @vishalmaddheshiya3625
    @vishalmaddheshiya3625 2 роки тому +1

    Can't able to edit the config

    • @SilentSolution
      @SilentSolution  2 роки тому

      Why please see this video and follow discriprion.. I am apologize for this inconvenience.. but when I am facing problems same way solutions this....

    • @vishalmaddheshiya3625
      @vishalmaddheshiya3625 2 роки тому +1

      Actually I am very new to Ubuntu Linux and so I don't have any information about it
      But I can't write in this config

    • @SilentSolution
      @SilentSolution  2 роки тому

      @@vishalmaddheshiya3625 please follow this vedio and discriprion...I think solutions this...

  • @arletpaz8010
    @arletpaz8010 3 роки тому +1

    i follow your steps and although no problem following along your result wasnt mine and i dont know why i cant access into my raspberry pi

    • @SilentSolution
      @SilentSolution  3 роки тому

      Please share secrin short . Also allow firewall pot 22

    • @arletpaz8010
      @arletpaz8010 3 роки тому +1

      @@SilentSolution how?

    • @SilentSolution
      @SilentSolution  3 роки тому

      @@arletpaz8010 you sudo systemctl reload sshd or allow ufw port 22 ?

    • @SilentSolution
      @SilentSolution  3 роки тому

      @@arletpaz8010 sudo ufw allow 22 also reload ufw

  • @ricardo2013galaxy
    @ricardo2013galaxy 3 роки тому +1

    gracias hermanito won me salvaste el ramo shushetumare te quiero wn te deposito 5 gamba dame tu rut

  • @user-tl2bo4qc4g
    @user-tl2bo4qc4g Рік тому +1

    thanks bro very helpful

    • @SilentSolution
      @SilentSolution  Рік тому

      You are most welcome please share this video and like subscribe me ❤️

  • @anzori2002
    @anzori2002 9 місяців тому +1

    Brilliant! Thanks!!

    • @SilentSolution
      @SilentSolution  9 місяців тому

      You are most welcome please share this video and like subscribe me 🙏

  • @muhammadrifqifauzan60
    @muhammadrifqifauzan60 3 місяці тому +1

    THANKSKSSS

    • @SilentSolution
      @SilentSolution  3 місяці тому

      You are most welcome please share this video and like subscribe 🙏

  • @danialakbarpour8970
    @danialakbarpour8970 10 місяців тому +1

    Nice ma man

    • @SilentSolution
      @SilentSolution  10 місяців тому

      Thanks for your compliment please share this video and like subscribe me 🙏

  • @danilsyah4108
    @danilsyah4108 Рік тому +1

    thanks , you help me

    • @SilentSolution
      @SilentSolution  Рік тому

      You are most welcome please share this video and like subscribe me 💕

  • @bernardsaga627
    @bernardsaga627 2 роки тому +1

    works for me!

    • @SilentSolution
      @SilentSolution  2 роки тому

      Thanks for your compliments my Dear please like share and subscribers me...

  • @vb.8143
    @vb.8143 Рік тому +1

    thank you so much!

    • @SilentSolution
      @SilentSolution  Рік тому

      You are most welcome please share this video and like subscribe me

  • @kamalchan9756
    @kamalchan9756 3 роки тому +1

    thank you it works

    • @SilentSolution
      @SilentSolution  3 роки тому

      Are you most welcome ❤️ my dear friend ❤️ please share this and subscribe

  • @galotube8768
    @galotube8768 3 роки тому +1

    good

    • @SilentSolution
      @SilentSolution  3 роки тому

      Are you most welcome ❤️ my dear friend ❤️ please share this and subscribe

  • @sathanraj9687
    @sathanraj9687 2 роки тому +1

    thank you

    • @SilentSolution
      @SilentSolution  2 роки тому

      Are you most welcome ❤️ my dear friend ❤️ please share this and like subscribe 🙏

  • @maw6084
    @maw6084 3 роки тому +1

    thanks

    • @SilentSolution
      @SilentSolution  3 роки тому

      Area you most welcome ❤️ my dear friend ❤️ please share this and like subscribe 🙏

  • @abdelbassethamdani2825
    @abdelbassethamdani2825 2 роки тому +1

    love u man

    • @SilentSolution
      @SilentSolution  2 роки тому

      Thanks for your compliments my dear friend ❤️ please share this and like subscribe 🙏

  • @girishpkumar7268
    @girishpkumar7268 2 роки тому +1

    love IT

    • @SilentSolution
      @SilentSolution  2 роки тому

      Thanks for your compliments my dear friend ❤️ please share this and like subscribe

  • @dushsam
    @dushsam Рік тому

    you saved my day☺

    • @SilentSolution
      @SilentSolution  Рік тому

      Thanks for your compliment please share this video and like subscribe me

  • @Hackcat57
    @Hackcat57 10 місяців тому +1

    Macbook air tryhackme ssh problemmm😢😢

    • @SilentSolution
      @SilentSolution  10 місяців тому

      I am really apologize for this inconvenience but I am facing this type of people same way solution this video.. please check your SSH service active or allowed firewall

    • @Hackcat57
      @Hackcat57 10 місяців тому +1

      thank you@@SilentSolution

    • @SilentSolution
      @SilentSolution  10 місяців тому

      u are most welcome please share this and like this @@Hackcat57