OpenSSH for Windows: The IT Admin's Key to Remote Management

  Рет қаралды 14,572

TechsavvyProductions

TechsavvyProductions

Жыл бұрын

OpenSSH for Windows allows admins and developers to leverage their PowerShell and Terminal interfaces to connect and configure their devices with OpenSSH for Windows. I will demonstrate in the video installation and configuration of clients, services, and key generation. I will demonstrate the configuration of the OpenSSH server and services and use both username/password and shared key-pairs configurations to log on to an SSH server. If you have struggled to understand and configure SSH in the past come and join us as we step by step understand and view every step in the process. Our video notes have great resources for troubleshooting your SSH problems.
Please consider becoming a channel member:
• you get an early viewing of all our video content
• access to the complete series of videos for each subject
• links to video notes and PowerPoint slide deck both in MS-Word and PDF format
• Our eBook and resources folder
• Join our channel membership, it’s $2.99/month); see the “Join” button on our channel homepage. / @techsavvyproductions
"Everybody can be great... because anybody can serve. You don't have to have a college degree to serve. You don't have to make your subject and verb agree to serve. You only need a heart full of grace. A soul generated by love." Martin Luther King Jr.
Links to Documentation
PowerPoints in *.pptx format:
docs.google.com/presentation/...
Slide Deck in PDF:
drive.google.com/file/d/1ZibB...
Video Notes in *.docx:
docs.google.com/document/d/1C...
Video Notes in PDF:
drive.google.com/file/d/188TV...
Subscribe to the channel as it helps our channel perform better on KZbin’s algorithm.
Check out our KZbin channel for more content!
KZbin: / vanderl2796
Check out our Website: www.techsavvyproductions.com
Facebook: / techsavvyteamfl
Twitter: / vanderl2796
Telegram: t.me/Lowell901
Mr.V Linkedin: / lowell-vanderpool-5797...
Email: mrvanderpool@techsavvyproductions.com
Quick Access to more videos on TechSavvyProductions Channel:
Troubleshooting Windows Lockups, Application Hangs, and Blue Screen of Death • IT Admins' Guide to Wi...
TPM 2.0 using Windows 11 and Windows 10 • TPM 2.0 Demystified: I...
Windows 10 Secure Boot: Sharpen your Security • Boot Up with Confidenc...
UEFI Explained: Windows 10 and UEFI • UEFI Explained: Windo...
Windows Recovery Environment WinRE: Explained • Windows Recovery Envir...
How to Rescue Data when Windows will not Boot • From Boot Failure to D...
Windows 10 startup problems: Fixing Boot Problems • Windows 10 startup pro...
Day 1: Troubleshooting Windows Applications. What is a process and What are threads? • Mastering Windows Appl...
Day 2: Troubleshooting Windows Applications. Types of Applications and Processes. • Troubleshooting Essent...
Day 3: Troubleshooting Windows Applications: Process States • Windows Application Tr...
Day 4: Process Explorer Metrics and Troubleshooting Windows Applications • Mastering Process Expl...
Day 5: A Look at Microsoft Store Apps and Why we don’t Troubleshoot them! • Troubleshooting Micros...
Day 6: Linux GUI Applications are coming to Windows • Linux GUI on Windows: ...
Day 7: Understanding Application *.DLL files • Cracking the Code: Day...
Windows Services: A Technical Look at Windows 11 and Server 2022 Part 1 • Windows 11 & Server 20...
Hyper-V Explained: Providing Network-Storage-Graphic performance in a Virtual Machine • Hyper-V Performance Wi...
Hyper-V: Understanding Virtual Machines • Demystifying Virtual M...
Hyper V: Advanced Topics Performance NUMA and Shielded VMs • Hyper-V Performance an...
Out of Band Server Management: A Look at HP iLO • Going Rogue: How Out o...
Troubleshooting Windows 10 and Windows 11 Using Task Manager • Task Manager Unveiled:...
How to Rescue Data when Windows will not Boot • From Boot Failure to D...
Advanced Troubleshooting for Frozen/Lockup Computers/Servers and Applications • Resolving Windows Appl...
Troubleshooting Windows Lockups, Application Hangs, and Blue Screen of Death • IT Admins' Guide to Wi...
Understanding and Troubleshooting Fiber-Optic Communication • Fiber Faults to Fixes:...

Пікірлер: 47
@olawalemoses8958
@olawalemoses8958 11 ай бұрын
Thank you for this class Sir. Topic clearly explained.
@TechsavvyProductions
@TechsavvyProductions 11 ай бұрын
You are most welcome
@johnsenchak1428
@johnsenchak1428 Жыл бұрын
I understand about 80 percent of the video, and watched the whole thing HARD CORE !
@TechsavvyProductions
@TechsavvyProductions Жыл бұрын
Thanks John!
@zhoudai8790
@zhoudai8790 5 ай бұрын
This is the best SSH tutorial video I have ever seen, thanks a lot!
@TechsavvyProductions
@TechsavvyProductions 5 ай бұрын
Thanks for the comment!
@guilleport
@guilleport 4 ай бұрын
Agreed 👍
@info.pankaj24
@info.pankaj24 Жыл бұрын
Thanks Sir for a new video
@TechsavvyProductions
@TechsavvyProductions Жыл бұрын
thanks for watching
@The180Degrees
@The180Degrees 8 ай бұрын
This was a very comprehensive overview of the Windows side of SSH. There was one thing I was hoping to see and did not (at it is beyond the scope of an introduction to SSH): How to setup proxy jump ssh in windows with a config file. I use it all the time in Linux but wanted to give it a go in Win (where my config file works, just not the proxy jump). Would you know if this is doable?
@TechsavvyProductions
@TechsavvyProductions 8 ай бұрын
In SSH, a "proxy jump" is essentially a way to connect through one host to another host. This can be useful for various reasons, such as accessing a host in a private network that isn't directly accessible from the internet. You typically define the configuration for proxy jumps in your SSH configuration file. Here’s a step-by-step guide on setting up a ProxyJump using an SSH configuration file on Windows. Step 1: Install SSH Client Ensure you have an SSH client installed on your Windows system. Windows 10 (1809 and later) includes an optional feature "OpenSSH Client" that you can install through the “Optional Features” menu in the settings. Step 2: Create SSH Config File Create an SSH configuration file. By default, SSH clients on Windows will look for the configuration file at %USERPROFILE%\.ssh\config. To create this file, open a text editor like Notepad, and save a new file at the specified path. Step 3: Edit SSH Config File Edit the SSH config file to define the proxy jump configuration. Below is an example: Host ProxyJumpHost HostName proxy_jump_host_address User your_username_on_proxy_jump_host Port 22 IdentityFile path_to_your_private_key Host TargetHost HostName target_host_address User your_username_on_target_host Port 22 IdentityFile path_to_your_private_key_on_target_host ProxyJump ProxyJumpHost Replace proxy_jump_host_address with the address of the intermediate host. Replace your_username_on_proxy_jump_host with your username on the intermediate host. Replace path_to_your_private_key with the path to your private key for the intermediate host. Replace target_host_address with the address of the target host. Replace your_username_on_target_host with your username on the target host. Replace path_to_your_private_key_on_target_host with the path to your private key for the target host. Step 4: Use SSH with Config File Open a command prompt or PowerShell, and use the SSH command to connect to the target host: ssh TargetHost SSH will use the configuration from the config file and connect to the TargetHost via ProxyJumpHost. Troubleshooting If you face any issues, you can increase the verbosity of the SSH command to debug: ssh -vvv TargetHost This command will print a lot of debug information which can help in identifying any issues with the connection. Additional Notes Ensure that the permissions on the private key files are set correctly. Only the user should have read permission. Make sure that the SSH server on both the proxy jump host and the target host is running and accessible. Ensure that you have the necessary permissions to connect from the proxy jump host to the target host.
@josephsoldner6048
@josephsoldner6048 10 ай бұрын
Fantastic video!!!
@TechsavvyProductions
@TechsavvyProductions 10 ай бұрын
Thanks for watching!
@ErroneousTheory
@ErroneousTheory 3 ай бұрын
Especially like the riffing on Def Lepord at the end there ...
@TechsavvyProductions
@TechsavvyProductions 3 ай бұрын
: )
@cowboybobby7837
@cowboybobby7837 Жыл бұрын
You are great 😊
@TechsavvyProductions
@TechsavvyProductions Жыл бұрын
Thanks for watching!
@Mcfryguy5555
@Mcfryguy5555 Жыл бұрын
Great info!
@TechsavvyProductions
@TechsavvyProductions Жыл бұрын
Glad it was helpful!
@andreigiubleanu
@andreigiubleanu Жыл бұрын
LV is the man !
@TechsavvyProductions
@TechsavvyProductions Жыл бұрын
Thanks for watching
@ppetrix
@ppetrix Жыл бұрын
Thank you.
@TechsavvyProductions
@TechsavvyProductions Жыл бұрын
Thanks for watching!
@DP1959dbp
@DP1959dbp 9 ай бұрын
That was very detailed and lengthy. Could you do a more simplified video but detailed and to the point to understand the setup using a GUI instead of coding.
@TechsavvyProductions
@TechsavvyProductions 9 ай бұрын
Command-line is very challenging but OpenSSH is all command-line. Good news is there is a video on Putty, a useful and GUI utility that allows you to remotely connect to devices via: SSH, Telnet, serial. Check out this video. "How-to: Connecting to network equipment via console, telnet and SSH" kzbin.info/www/bejne/robJnJ55nZZogZI Thanks for checking out the channel!
@amanaguli1
@amanaguli1 10 ай бұрын
Thanks for the detailed explanation. I have requirement to enable the SFTP communication on the Windows server that I have done using OpenSSH and I want to connect the Windows SSH from Linux machine using the domain account with pub key. Is this a doable option. Kindly suggest.
@TechsavvyProductions
@TechsavvyProductions 10 ай бұрын
Yes, it is indeed possible to connect to a Windows machine from a Linux machine using SSH with public key authentication. However, the Windows machine must have an SSH server installed and properly configured. the built-in option for an SSH server on Windows is OpenSSH, which was made available in Windows 10 and Server 2019. OpenSSH supports domain accounts, but it may need additional configuration to use public key authentication with a domain account. To set this up, follow these general steps: Install OpenSSH Server on Windows: This can be installed via the "Optional Features" menu in Windows settings. After installation, ensure the SSH server is running. Configure OpenSSH Server: You may need to adjust the sshd_config file. This file is usually located in C:\ProgramData\ssh. The following configurations should be enabled: PubkeyAuthentication yes PasswordAuthentication no (optional, if you want to disable password-based logins and only use public key authentication) Setup Public Key Authentication: For this, you need to generate a public-private key pair on the Linux machine using ssh-keygen (if not already done), and then copy the public key to the Windows machine. On the Linux machine, generate a key pair: ssh-keygen -t rsa Copy the public key (usually named id_rsa.pub) to the Windows machine and append it to the authorized_keys file located at C:\Users\Your_Domain_User\.ssh\authorized_keys. If the .ssh directory or authorized_keys file do not exist, you may need to create them. Set Proper Permissions: Windows' OpenSSH is very particular about file and folder permissions. Make sure the authorized_keys file and .ssh folder are not accessible by anyone other than the owner. Restart SSH Service: Restart the SSH service on the Windows machine for the changes to take effect. Once this is setup, you can SSH from your Linux machine to your Windows machine using the domain user account and the key pair you generated. ssh domain_user@windows_machine_domain_or_ip Remember that these steps may change based on the exact versions of Windows and OpenSSH you're using, and you might need to adjust these steps accordingly. Also, this procedure assumes you have necessary administrative privileges on the Windows machine.
@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
@TechsavvyProductions
@TechsavvyProductions 11 ай бұрын
I checked the GitHub site and so far no solution. Folks are asking the same question.
@krishnaavinash1284
@krishnaavinash1284 7 ай бұрын
Will this work on ps 5.1 on windows 10
@TechsavvyProductions
@TechsavvyProductions 7 ай бұрын
I believe so I do not remember any requirement for upgrade of PowerShell.
@GooogleGoglee
@GooogleGoglee Жыл бұрын
I really feel hardcore after watching the video 2 times in a row lol
@TechsavvyProductions
@TechsavvyProductions Жыл бұрын
Anybody who watches OpenSSH twice is hard-core!
@johnsenchak1428
@johnsenchak1428 Жыл бұрын
The key pair thing doesn't look that hard to set up it's like setting up PGP for a email client
@TechsavvyProductions
@TechsavvyProductions Жыл бұрын
Windows makes the process easier but some hardware devices can be a real pain.
@aruprofficial
@aruprofficial 7 ай бұрын
Respected Sir, Where i got login password in my windows ssh? Please....sir
@TechsavvyProductions
@TechsavvyProductions 7 ай бұрын
check out our free video notes found in the video description
@pepeshopping
@pepeshopping Жыл бұрын
Complex? Only if you don’t understand how something works. At least 2 ssh server open source solutions for windows have existed for the last 15 years (Cygwin, msys2). I probably will stay with msys2 as they are portable and don’t need to be “installed”.
@TechsavvyProductions
@TechsavvyProductions Жыл бұрын
Always appreciate the comments it informs others serious about technology
@user-ed1dq8mi4z
@user-ed1dq8mi4z 4 ай бұрын
Can I get key to use
@TechsavvyProductions
@TechsavvyProductions 3 ай бұрын
You can self-generate your own keys.
@pepeshopping
@pepeshopping Жыл бұрын
When you connect for the first time, ssh does not “move a key” on the client side! What it does is to store a fingerprint of the remote ssh host in the ~/.ssh/known_hosts for checking in the future and make sure it is, or not, the same hosts as the stored fingerprint.
@TechsavvyProductions
@TechsavvyProductions Жыл бұрын
corrected: I should have avoided saying "move a key", when it stores stores the fingerprint info in the known_host file. Thanks!
@user-ed1dq8mi4z
@user-ed1dq8mi4z 4 ай бұрын
It's voice
@TechsavvyProductions
@TechsavvyProductions Ай бұрын
Thanks for watching!
@arturdryja6514
@arturdryja6514 Ай бұрын
not working
@TechsavvyProductions
@TechsavvyProductions Ай бұрын
I find myself here often so the rule is give yourself a day off, remove everything and on a Saturday morning with a fresh cup of coffee/tea. Sit down and read/listen carefully again and give it a try. Solve a lot of problems that way.
Windows Event and Logging Demystified: IT Admin Edition
36:38
TechsavvyProductions
Рет қаралды 13 М.
OpenSSH is about to change. (For the better.)
10:00
Veronica Explains
Рет қаралды 138 М.
小路飞姐姐居然让路飞小路飞都消失了#海贼王  #路飞
00:47
路飞与唐舞桐
Рет қаралды 89 МЛН
Don't eat centipede 🪱😂
00:19
Nadir Sailov
Рет қаралды 21 МЛН
Mastering Hyper-V: A Deep Dive into Microsoft's Network Stack
34:48
TechsavvyProductions
Рет қаралды 4 М.
The PXE Playbook: Transform Your OS Deployment Strategy
22:23
TechsavvyProductions
Рет қаралды 104 М.
RoboCopy: Your Data Copying Ally for IT Admins
24:28
TechsavvyProductions
Рет қаралды 19 М.
Cracking the Code: Dive Deep into Windows Registry
27:28
TechsavvyProductions
Рет қаралды 76 М.
Mastering Active Directory Health: Dcdiag Troubleshooting Tips for IT Pros
43:00
SSH Full Course - EVERYTHING You Need to Know!
1:28:00
Learn Linux TV
Рет қаралды 551 М.
Use SSH Like a PRO!
22:55
Shawn Powers
Рет қаралды 3,1 М.
Приехала Большая Коробка от Anker! А Внутри...
20:09
РасПаковка ДваПаковка
Рет қаралды 70 М.
How about that uh?😎 #sneakers #airpods
0:13
Side Sphere
Рет қаралды 10 МЛН
Nokia 3310 versus Red Hot Ball
0:37
PressTube
Рет қаралды 1,3 МЛН