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

  Рет қаралды 15,154

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:...

Пікірлер: 51
@olawalemoses8958
@olawalemoses8958 Жыл бұрын
Thank you for this class Sir. Topic clearly explained.
@TechsavvyProductions
@TechsavvyProductions Жыл бұрын
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!
@info.pankaj24
@info.pankaj24 Жыл бұрын
Thanks Sir for a new video
@TechsavvyProductions
@TechsavvyProductions Жыл бұрын
thanks for watching
@zhoudai8790
@zhoudai8790 6 ай бұрын
This is the best SSH tutorial video I have ever seen, thanks a lot!
@TechsavvyProductions
@TechsavvyProductions 6 ай бұрын
Thanks for the comment!
@guilleport
@guilleport 5 ай бұрын
Agreed 👍
@josephsoldner6048
@josephsoldner6048 11 ай бұрын
Fantastic video!!!
@TechsavvyProductions
@TechsavvyProductions 11 ай бұрын
Thanks for watching!
@ErroneousTheory
@ErroneousTheory 4 ай бұрын
Especially like the riffing on Def Lepord at the end there ...
@TechsavvyProductions
@TechsavvyProductions 4 ай бұрын
: )
@Mcfryguy5555
@Mcfryguy5555 Жыл бұрын
Great info!
@TechsavvyProductions
@TechsavvyProductions Жыл бұрын
Glad it was helpful!
@cowboybobby7837
@cowboybobby7837 Жыл бұрын
You are great 😊
@TechsavvyProductions
@TechsavvyProductions Жыл бұрын
Thanks for watching!
@andreigiubleanu
@andreigiubleanu Жыл бұрын
LV is the man !
@TechsavvyProductions
@TechsavvyProductions Жыл бұрын
Thanks for watching
@ppetrix
@ppetrix Жыл бұрын
Thank you.
@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.
@DP1959dbp
@DP1959dbp 10 ай бұрын
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 10 ай бұрын
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 11 ай бұрын
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 11 ай бұрын
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.
@archygonzalez3086
@archygonzalez3086 23 күн бұрын
Unfortunately, the Win32-OpenSSH Wiki just redirectos to the OpenBSD manual page for the "sshd_config" and "ssh_config", which just summarizes the tool flags and options it does not give any examples or actual use case, for such a popular tool on remoting there should be more case usage examples and Do's as well as Dont's but, will have to google it mean while, BTW excelent overview on the topic and very well explained, thanks
@TechsavvyProductions
@TechsavvyProductions 23 күн бұрын
Appreciate the good feedback on the topic, others can benefit from your discovery.
@exus696
@exus696 Жыл бұрын
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 Жыл бұрын
I checked the GitHub site and so far no solution. Folks are asking the same question.
@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!
@code-inc
@code-inc 5 күн бұрын
😍😍😍😍
@TechsavvyProductions
@TechsavvyProductions 2 күн бұрын
Thanks for watching
@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.
@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
@krishnaavinash1284
@krishnaavinash1284 8 ай бұрын
Will this work on ps 5.1 on windows 10
@TechsavvyProductions
@TechsavvyProductions 8 ай бұрын
I believe so I do not remember any requirement for upgrade of PowerShell.
@aruprofficial
@aruprofficial 8 ай бұрын
Respected Sir, Where i got login password in my windows ssh? Please....sir
@TechsavvyProductions
@TechsavvyProductions 8 ай бұрын
check out our free video notes found in the video description
@user-ed1dq8mi4z
@user-ed1dq8mi4z 4 ай бұрын
Can I get key to use
@TechsavvyProductions
@TechsavvyProductions 4 ай бұрын
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 2 ай бұрын
Thanks for watching!
@arturdryja6514
@arturdryja6514 2 ай бұрын
not working
@TechsavvyProductions
@TechsavvyProductions 2 ай бұрын
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 М.
$10,000 Every Day You Survive In The Wilderness
26:44
MrBeast
Рет қаралды 137 МЛН
Smart Sigma Kid #funny #sigma #comedy
00:19
CRAZY GREAPA
Рет қаралды 9 МЛН
Balloon Stepping Challenge: Barry Policeman Vs  Herobrine and His Friends
00:28
OpenSSH for Absolute Beginners
23:00
Veronica Explains
Рет қаралды 97 М.
Mastering Microsoft's CLI Packet Capture: Pktmon.exe for IT Pros
31:18
TechsavvyProductions
Рет қаралды 8 М.
OpenSSH is about to change. (For the better.)
10:00
Veronica Explains
Рет қаралды 138 М.
SSH Keys
10:12
RobEdwards
Рет қаралды 100 М.
Mastering Hyper-V: A Deep Dive into Microsoft's Network Stack
34:48
TechsavvyProductions
Рет қаралды 4,1 М.
The PXE Playbook: Transform Your OS Deployment Strategy
22:23
TechsavvyProductions
Рет қаралды 105 М.
What's the BEST home server operating system?
17:35
Christian Lempa
Рет қаралды 601 М.
Active Directory Group Policy: The technology and components that make it work.
37:39
40 Windows Commands you NEED to know (in 10 Minutes)
10:54
NetworkChuck
Рет қаралды 3,1 МЛН
Разряженный iPhone может больше Android
0:34
ПОКУПКА ТЕЛЕФОНА С АВИТО?🤭
1:00
Корнеич
Рет қаралды 1,9 МЛН
📦Он вам не медведь! Обзор FlyingBear S1
18:26
Мечта Каждого Геймера
0:59
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 1,5 МЛН