Install OpenSSH on microsoft windows server 2016 and open ssh port 22 in windows firewall

Поділитися
Вставка
  • Опубліковано 15 гру 2024

КОМЕНТАРІ • 114

  • @baberaham
    @baberaham 5 років тому +9

    This was my 4th resource and your instructions were very clear and concise. Thank you!

    • @DataCraftBackbone
      @DataCraftBackbone  5 років тому

      Thanks so much for you feedback, so happy you like it.

  • @brunoillipronti8641
    @brunoillipronti8641 5 років тому +6

    It worked perfectly on Windows Server 2012 (following the same steps). Thank you

    • @DataCraftBackbone
      @DataCraftBackbone  5 років тому

      Thanks for feedback, happy its working on Windows Server 2012 to :)

  • @SatyendraShahjnk
    @SatyendraShahjnk 11 днів тому +1

    It help me on Windows server 2022 too. thank you so much!

  • @BoodroGaming
    @BoodroGaming 5 років тому +4

    Just subbed, thanks Ive been trying to figure this out for a couple days..... You are the man

    • @DataCraftBackbone
      @DataCraftBackbone  5 років тому

      Thanks for you subscribe, and thanks for you like my video and thanks for you feedback.

  • @samiswilf
    @samiswilf 5 років тому +2

    Thanks for the video. It saved me time in not needing to figure this all out myself

    • @DataCraftBackbone
      @DataCraftBackbone  5 років тому

      You welcom, happy its help :) thanks for you feedback

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

    Thanks for this....
    It really helped me... In completing the project on time....

  • @susan.s.mtegha69
    @susan.s.mtegha69 Рік тому

    Excellent tutorial. Thank you so much this was so helpful.

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

    Excellent tutorial you saved me some time. Thanks!

  • @melissabutler4366
    @melissabutler4366 4 роки тому +2

    Thank you so much, it worked exactly as you explained :)

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

    unable to negotiate with ip port 22: no matching host key found ---this error getting please suggest

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

    Excellent work, very clear and easy to understand. Thanks

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

    This tutorial was definitely very helpful. thanks so much

  • @piyushsahu6045
    @piyushsahu6045 4 роки тому +1

    Instruction were amazing. Got it done in a snap.

  • @eduardolpz386
    @eduardolpz386 4 роки тому +1

    Excellent.
    Worked perfectly.

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

    Thank you great now successfully ssh and scp

  • @LIMECZ
    @LIMECZ 4 роки тому +1

    when i try to connect, it says: Permission denided (publickey,keyboard-nteractive).

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

    Thank you so much, it works.

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

    Do you have any video installing the same setup on windows server 2008 R2 ?

  • @davidcanche
    @davidcanche 4 роки тому

    thanks for your help, i installed ssh client in win server 2012 with these steps, greetings from Mexico friend

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

    Can't thank you enough. I was struggling to set this up.

  • @yassinsoltani2725
    @yassinsoltani2725 4 роки тому +1

    Thank you so much that was reaaaaaly helpful

    • @DataCraftBackbone
      @DataCraftBackbone  4 роки тому

      Very happy to know its helpful, thanks for your comment

  • @JetChoong920515
    @JetChoong920515 5 років тому +2

    nice this is what i was looking for

    • @DataCraftBackbone
      @DataCraftBackbone  5 років тому

      Thanks for you feedback, happy you found what you search :)

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

    Simple and Precise :-)

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

    thank u. it was helpful video

  • @sikandarboy
    @sikandarboy 4 роки тому +1

    Thanks... a real life saver !

  • @shubhamsangle21
    @shubhamsangle21 4 роки тому

    Thanks for this guide! Saved my day.

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

    Nice Job
    Would be cool to show how to use key files

  • @mambattaprasanth8635
    @mambattaprasanth8635 4 роки тому

    How to restrict user to only a particular folder?

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

    Any comment on the security of this setup, or possible improvements?

  • @jasonsullivan5481
    @jasonsullivan5481 5 років тому +1

    Thanks for this , very helpful

    • @DataCraftBackbone
      @DataCraftBackbone  5 років тому

      Thanks for you feedback, happy you found it useful :)

  • @karthikkannavijayakumar1260
    @karthikkannavijayakumar1260 5 років тому +1

    Helped me alot .. Thanks for the video

  • @DaminalTheAminal
    @DaminalTheAminal 4 роки тому +1

    When I try to start the service I get a 1067 error... (Win Server 2016)

    • @DataCraftBackbone
      @DataCraftBackbone  4 роки тому

      First thanks for you comment, what i can find about the error 1067 you are speaking about, its look like you have doing something wrong with the services, the error is coming when its failed to start the services, be sure link to the right path.

  • @palmweaver
    @palmweaver 5 років тому +1

    Brilliant - Very good tutorial

  • @videoseducativo6551
    @videoseducativo6551 4 роки тому

    hello, error shell request failed on channel 0???'

  • @sunilbajracharya5667
    @sunilbajracharya5667 4 роки тому +1

    I would like to have a video regarding how we connect using Private/Public Key in Windows Server 2016. That would be great if you could make that video

    • @DataCraftBackbone
      @DataCraftBackbone  4 роки тому

      Thanks for you comment and feedback, what did you mean? how you can allow multi users to connect whitout password to the server our?

    • @NALLELYlINdA1
      @NALLELYlINdA1 4 роки тому +1

      @@DataCraftBackbone hi, i want to know how can i configurate use only one user? because in my case any users can inside my server with openssh

    • @DataCraftBackbone
      @DataCraftBackbone  4 роки тому +1

      @@NALLELYlINdA1 Thanks for your question, i have created 2 new video's there will be public d. 15 and 17 June 2020, its for Windows Server 2019, but its shut be same way on Windows Server 2016, you can find the playlist about it here ua-cam.com/play/PLLhEJK7fQIxDQ6zmgl8EELm25DEbumxA2.html

  • @gagnepa
    @gagnepa 5 років тому +1

    I need help learning to use OpenSSH to connect to Linux VMs with port forwarding.

    • @DataCraftBackbone
      @DataCraftBackbone  5 років тому

      Thanks for your comment, what your mean? Then i Will try to help you :)
      What VM provider are you using? And witch Linux disto?

  • @brittzkrieg
    @brittzkrieg 5 років тому +1

    Very helpful. Thank you!

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

    Sir, can pleasure demonstrate how prevent some users to use ssh in windows server. I tried to use DenyUsers, AllowUsers but it not works.
    Thank you so much.

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

    just perfect dude. Respect

  • @lahaale5840
    @lahaale5840 4 роки тому

    How can I solve the following issue on widows 10?
    Warning: Permanently added '127.0.0.1' (ECDSA) to the list of known hosts.
    Connection reset by 127.0.0.1 port 22

  • @جنانجلندعبدالرحيمخميسالبلوشية

    How can get host name windows 10??

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

    Thanks for the video

  • @armnpk
    @armnpk 5 років тому +1

    Thank you for awesome video, what if I were to run a bash script (.sh) on server after connecting with SSH? At the moment I run it on Bash Terminal. want to run it thru terminal

    • @DataCraftBackbone
      @DataCraftBackbone  4 роки тому

      Sorry for the late replay, you can't run bash / sh script direcly inside windows, you need to install subsystem for it first like Ubuntu or somthing like that, if you run on Windows Server 2019 i got this video ua-cam.com/video/kUl0_RvxG90/v-deo.html you can se how to install a subsystem, and then you can login by using SSH for windows server 2019 and execute your bash script if you are going into the subsystem first.
      But why not save your self all the pain, translate your bash script into a powershell then you can run it on your Windows 2016 server, i will recommend you to translate it :)

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

    YES! I Agree with everyone's comment. Thank you! @pnk

  • @ravikant-tv3zr
    @ravikant-tv3zr 4 роки тому

    good video, can you please let us know I want to change the path, after installation it use users home directory I want to change to another directory.

  • @darxxx
    @darxxx 4 роки тому +1

    Thanks for this guide! :)
    Just one Question, couldn't find anything on this: how could I set up ssh users for accessing only one specific Folder and not the entire Directory system?

    • @DataCraftBackbone
      @DataCraftBackbone  4 роки тому

      Thanks for you comment.
      On linux you bind the folder to the single user, its nothing to do with the ssh login, ssh its just a protocol there allow you to connect remotely like RDP :)
      So i think you need to lock the folder for the single user so the user only have access to home folder

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

    Very good video it helped me a lot, thank you!

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

    Thank you Sir its work

  • @anonymousx9136
    @anonymousx9136 4 роки тому

    i don't know my key who is for my ssh

  • @bintarouser
    @bintarouser 5 років тому +1

    Hi, I have running it in windows 2016, but sshd service didn't appeared. Is there any clue?

    • @DataCraftBackbone
      @DataCraftBackbone  5 років тому

      Thanks for you comment, the services shut ofc appeared, if not can you pls try to do all the steps one more time?

    • @bintarouser
      @bintarouser 5 років тому

      @@DataCraftBackbone yes, i have already try it several time, but can't get notif granting seAssignPrimaryTokenPrivilage to NTSERVICE\SSHD SUCCESSFULL when i execute .\install-sshd.ps1 in poweshell
      I have already download n apply 2 version of installer v8.0.0 and v7.9.0 also did'nt succeed 😭

  • @vincentjean6756
    @vincentjean6756 4 роки тому +1

    Great, thanks!

  • @VivekAyer
    @VivekAyer 5 років тому +1

    Thanks, very useful

    • @DataCraftBackbone
      @DataCraftBackbone  5 років тому

      You welcom, :)

    • @gagnepa
      @gagnepa 5 років тому

      @@DataCraftBackbone I need to connect to various Linux VMS using SSH with powershell. We use private and public keys to authenticate. The server's do not use port 22. They use various ports assigned by security as gateway ports.

  • @gauravtrivedi80
    @gauravtrivedi80 4 роки тому +1

    great!, its help!

  • @reubenyahsrael346
    @reubenyahsrael346 5 років тому +1

    Thanks for this video, I have question on SCP how do I get that running?

    • @DataCraftBackbone
      @DataCraftBackbone  5 років тому +1

      Thanks for you comment, and happy you like it, :) in 2019 the SCP is build in like SSH is, on 2016 i think you need to install SCP at your self, you can take a look here serverfault.com/questions/10468/ssh-scp-server-on-windows i have not tested it, but maby its help you.

  • @BioExtract
    @BioExtract 4 роки тому +2

    Pretty great that they changed the github repo and now this tutorial doesnt make any sense. Woooo 10/10 programming

    • @DataCraftBackbone
      @DataCraftBackbone  4 роки тому

      Thanks for your feedback, What you mean about there have changed the repo?

    • @anas9806
      @anas9806 4 роки тому

      hahah true!

  • @MrHasan-ur1nv
    @MrHasan-ur1nv 2 роки тому

    amazing
    my issue was solved

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

    Super

  • @RetroSmoo
    @RetroSmoo 4 роки тому +1

    Still useful today

    • @DataCraftBackbone
      @DataCraftBackbone  4 роки тому +1

      Thanks for feedback, yes 2016 servers still running out there, :)

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

    Thanks

  • @MSMS-on8rs
    @MSMS-on8rs 10 місяців тому

    yes clear one

  • @aghileslounis
    @aghileslounis 4 роки тому +1

    awesome but did not work for me i need a password to connect and i don't have password setup for the computer, even i tried to create one but it seems it need some other password

    • @DataCraftBackbone
      @DataCraftBackbone  4 роки тому +1

      your login shut be as defualt "administrator" and then the administrator password you pick to the server, if you create a new user on the server then you need to use this password
      if its not working i think not its a openssh problem, but somthing on your server you need to look at, d. 15 and 17 June i will published 2 new videos about OpenSSH for Windows 2019, try to watch this video's it will work for Windows Server 2016 to.

  • @akashbhatt3223
    @akashbhatt3223 4 роки тому

    I would like to thank you for this tutorial..I am facing one issue..I installed latest OpenSSH server inside windows server2016 and when I am trying to connect from Windows client machine in command prompt: "ssh Administrator@server_ipaddress",it is showing "Connection reset by server_ip port22"....please help me to troubleshoot this issue...Thank you

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

      perhaps you forgot to add firewall rules ?

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

    thanks!

  • @arunajay1588
    @arunajay1588 4 роки тому

    Ssh vm3@ip password : gives permission denied ...I actually gave the vm3 password used for authentication shohld I use any other password

    • @DataCraftBackbone
      @DataCraftBackbone  4 роки тому

      Its hard to say what you do wrong, the login user and password is the same there are used to login to Windows as normal :)

  • @HimanshuSaini-tj7vx
    @HimanshuSaini-tj7vx 4 роки тому +1

    Plz can anyone tell me where to get this ssh password

    • @DataCraftBackbone
      @DataCraftBackbone  4 роки тому

      Himanshu Saini you ssh password are bind to you Windows user you login with

    • @HimanshuSaini-tj7vx
      @HimanshuSaini-tj7vx 4 роки тому

      @@DataCraftBackbone I have not setup login password sirr

    • @HimanshuSaini-tj7vx
      @HimanshuSaini-tj7vx 4 роки тому

      @@DataCraftBackbone sir plz help me

    • @HimanshuSaini-tj7vx
      @HimanshuSaini-tj7vx 4 роки тому

      @@DataCraftBackbone they are encrypted

    • @DataCraftBackbone
      @DataCraftBackbone  4 роки тому

      Himanshu Saini you need to set a password for your Windows user to work with ssh Else its Will not working, if you dont have password you need to create one :)

  • @ahmedsaad-lk2og
    @ahmedsaad-lk2og 2 роки тому

    Thanks