Set up SSH Server on Windows | Remote Secure Shell + Key Based Authentication

preview_player
Показать описание
Want to connect to your laptop or another device to your computer using SSH? Well, there's an SSH server built-in to Windows; you need to activate it. This guide shows you how to set that up and key-based authentication for public/private key-based logins, which are much more secure!

Timestamps:
0:00 - Intro/Explanation
0:26 - Install OpenSSH Server
1:05 - Alternate OpenSSH Server install method
1:43 - Make sure OpenSSH Server starts with Windows
2:37 - Allow OpenSSH through Windows Firewall
3:45 - Test OpenSSH connection
5:05 - Securing OpenSSH with Public key authentication
8:29 - Deploy public key (on server)
9:43 - Using private key (on client)
10:46 - Disable password authentication
12:14 - Testing disabled password auth & Key auth
12:40 - Testing remote command line/Shell

#Windows #SSH #Guide
-----------------------------
-----------------------------

Everything in this video is my personal opinion and experience and should not be considered professional advice. Always do your own research and ensure what you're doing is safe.
Рекомендации по теме
Комментарии
Автор

Your channel is filled with tutorials about things I've always wanted to do before. When I came across this video, I couldn't help but comment without watching the video, because it's about something I've never been able to do before, and I wanted to share my thoughts.

For Windows users, SSH Server is problematic if the logged-in Windows user is connected to an Outlook account, and I learned this information solely from comments on another YouTube tutorial video. I'm writing this for those who might need it in the future because I learned this information way too late: If the Windows user you're logged in as is linked to an Outlook account, SSH connections won't work. Instead, you need a local user account that isn't linked to any Windows account. You can still run the SSH Server within a user account that's linked to an Outlook account, but when connecting, you still need to connect to a local user.

dku
Автор

I did everything until 4:57, but it always outputs "Permission denied, please try again." isn't the password just the normal one we have to use to login the user as an end-user?

thalisonamaral
Автор

Wow you are so underrated for the quality and quantity of ur content
love the videos bdw You have helped me countless times ❤

Sebsob_
Автор

true, I love these videos(I wait all day for his video to come.)

mrpw
Автор

Hey TroubleChute, it's like you read my mind! Over the past year, there have been many times where I've struggled with a problem for a day, only for you to release a video that week explaining how to solve it easily. This is another one of those moments.

What I did in addition: if you're using a Windows client, you can mount your files as a network share with SSHFS For Windows. Combining this with Tailscale and Magic DNS, or manually editing your Windows host file allows you to use the computer name instead of ip.

timjach
Автор

Very well explained. I am struggling to find maxlogins in limits.conf file equivalent in windows version of openssh. Is it possible ? Please help

exus
Автор

Hello, i have configured the public and private keys as your guide, but i got a permission denied (publickey, keyboard-interactive). how to fix this, sir?

hlo
Автор

OK but what if there is a vuln and there is no "safe" version and I need to compile from source?

stupidoldgamer
Автор

There is no ssh folder on my data huhu

PracticeTech-rgyh
Автор

Ok am noob on this one...how to put username what i want and password that i want...because echo didnt gived me any username

bojanplesa
Автор

First of, the commands are not "down below" they are on a completely different site. Secondly. why are you referencing a website so much without linking to it anywhere?? *Facepalm*

anthonsteiness