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

  Рет қаралды 11,020

TroubleChute

TroubleChute

Күн бұрын

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!
OpenSSH Server: github.com/PowerShell/Win32-O...
Get all commands, and read the video in article form: hub.tcno.co/windows/tools/ssh...
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
-----------------------------
💸 Found this useful? Help me make more! Support me by becoming a member: / @troublechute
-----------------------------
💸 Direct donations via Ko-Fi: ko-fi.com/TCNOco
💬 Discuss the video & Suggest (Discord): s.tcno.co/Discord
👉 Game guides & Simple tips: / troublechutebasics
🌐 Website: tcno.co
📧 Need voiceovers done? Business query? Contact my business email: TroubleChute (at) tcno.co
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.

Пікірлер: 11
@thalisonamaral1642
@thalisonamaral1642 3 ай бұрын
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?
@dku4996
@dku4996 8 ай бұрын
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 KZfaq 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.
@tcbtrvpsrno5985
@tcbtrvpsrno5985 3 ай бұрын
Nice content from TroubleChute, and great comment from dku4996, I ran into the exact same problem and struck on the password input (when connecting by "ssh user@server_host"). With some trial and error, I found out that you need to use the password registered for that outlook/ MS account, instead of the pin/ password when you use at PC's login screen (for a user that is connected to outlook/ Microsoft account)
@Sebsob75_
@Sebsob75_ Жыл бұрын
Wow you are so underrated for the quality and quantity of ur content love the videos bdw You have helped me countless times ❤
@mrp0w
@mrp0w Жыл бұрын
true, I love these videos(I wait all day for his video to come.)
@timjach401
@timjach401 Жыл бұрын
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.
@exus696
@exus696 11 ай бұрын
Very well explained. I am struggling to find maxlogins in limits.conf file equivalent in windows version of openssh. Is it possible ? Please help
@stupidoldgamer
@stupidoldgamer 4 ай бұрын
OK but what if there is a vuln and there is no "safe" version and I need to compile from source?
@bojanplesa1221
@bojanplesa1221 20 күн бұрын
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
@PracticeTech-rg7yh
@PracticeTech-rg7yh Ай бұрын
There is no ssh folder on my data huhu
@anthonsteiness3488
@anthonsteiness3488 3 ай бұрын
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*
SSH To Windows Using Public Key
13:40
William Campbell
Рет қаралды 69 М.
Fix for SSH Permission Denied (Public Key)
12:57
Susan B.
Рет қаралды 69 М.
Omega Boy Past 3 #funny #viral #comedy
00:22
CRAZY GREAPA
Рет қаралды 34 МЛН
I Need Your Help..
00:33
Stokes Twins
Рет қаралды 148 МЛН
Ubuntu/WSL SSH Server Setup Guide | Remote SSH WSL
4:57
TroubleChute
Рет қаралды 17 М.
Generate SSH keys for Windows -  Secure Shell Easy Way
6:30
williamsk
Рет қаралды 24 М.
How to setup an SSH Server on Windows in 3 easy steps
4:10
Demetri de Skepsi
Рет қаралды 4,7 М.
The Beginner's Guide To SSH
20:10
DistroTube
Рет қаралды 53 М.
Install openSSH server on Windows 10
4:56
Cyber - Tech - Tips
Рет қаралды 114 М.
How to control your Computer remotely with SSH
10:21
Make Everyday EZ Day
Рет қаралды 42 М.
How to SSH into Windows from Windows (and copy files remotely)
9:23
Tony Teaches Tech
Рет қаралды 57 М.
How SSH Works
8:54
Mental Outlaw
Рет қаралды 470 М.
Omega Boy Past 3 #funny #viral #comedy
00:22
CRAZY GREAPA
Рет қаралды 34 МЛН