OpenSSH Server Setup in WSL

  Рет қаралды 17,559

NeuralNine

NeuralNine

Күн бұрын

Пікірлер: 25
@costa2016
@costa2016 2 жыл бұрын
I do recommend creating SSH keys using ED25519 algorithm instead of the default RSA. The former is safer, newer and shorter as well
@andreamodiano
@andreamodiano 9 ай бұрын
Excellent, thank you.
@KhalilYasser
@KhalilYasser Жыл бұрын
Thank you very much. I tried this `sudo ufw allow ssh` but got an error `ERROR: Couldn't determine iptables version`. I have installed it `sudo apt install iptables` but still got the same error.
@cezarycodes2192
@cezarycodes2192 2 жыл бұрын
Your movies are very helpful BRO!
@pll3586
@pll3586 Жыл бұрын
ur great and two precisions i stay 4 hours to say a problem and dont ask gpt yt is best : if u dont have systemctl its the good commande sudo service ssh status to say if ssh is open and sudo service ssh restart after the modification in the backup maybe and create a new authorized_keys with sudo nano authorized_keys and copy in the backup content after move with sudo cat backup
@mateosabando
@mateosabando 2 жыл бұрын
Thank you for the video. Could you show us how to connect via the internet instead of through the local windows system?
@facundolubo
@facundolubo Жыл бұрын
I think that u are connecting via internet, that's because is an ssh-client-server conexion.
@prashlovessamosa
@prashlovessamosa 2 жыл бұрын
Thanx man i want more on wsl btw you are the great teacher
@facundolubo
@facundolubo Жыл бұрын
I have two questions: a) How can u do the viceversa? I mean, connect from the WSL to Windows. I think that's not as easy. I've downloaded an ssh-server application and it supose to be running. At the same time, I try to configure Firewall. But I cannot connect. b) There is other way to share the keys? I mean, this example is easy to implement because access to the File System of each OS very quickly, but how if we pretend to connect from other device? We need to send the keys by email or with a pendrive?
@kasra7777
@kasra7777 Жыл бұрын
I am following this video step by step. Does anyone know why at 5:18 I get this error: cp: cannot create regular file '/home/kasra/.ssh/authorized_keys': No such file or directory
@LouLoubeat
@LouLoubeat Жыл бұрын
Me too
@TheBerni44444
@TheBerni44444 Жыл бұрын
hi, at "ssh-keygen -A" i get the error: "ssh-keygen: gnerating new host keys: DSA could not save your public key in ... : permission denied". What can I do about it?
@garywilkinson7160
@garywilkinson7160 Жыл бұрын
run 'sudo ssh-keygen -A'
@MaxMustermann-on2gd
@MaxMustermann-on2gd 2 жыл бұрын
How come the ls command available from your cmd.exe? Is it standard behavior? 😅
@Krbydav328
@Krbydav328 2 жыл бұрын
It’s not there after you install WSL?
@MaxMustermann-on2gd
@MaxMustermann-on2gd 2 жыл бұрын
@@Krbydav328 if you are in your WSL terminal sure. But he was using ls from cmd.exe on windows. There is definitely no ls command available.
@SoftBreadSoft
@SoftBreadSoft 3 ай бұрын
Alias or Git or Clink or something.
@danielniels22
@danielniels22 2 жыл бұрын
will you make video about VPython?
@jojojojojojojo2
@jojojojojojojo2 Жыл бұрын
DO NOT override the existing KEY!!! I REPEAT DO NOT OVERRIDE THE EXISTING KEY!!! YO! What are you doing here?
@kenjaev_hasan
@kenjaev_hasan 2 жыл бұрын
👍👍👍👍👍👍👍👍👏👏👏👏👏👏👏👏👏👏
@pluto124
@pluto124 8 ай бұрын
I’m confused why you are doing this. What’s the use case?
@byeebyte
@byeebyte 5 ай бұрын
What he does in the video is that showing you how to connect to another device with using ssh-server. That means you can actually for example connect to your laptop or your friends laptop and use it remotely
@chromerims
@chromerims 6 ай бұрын
Unfortunately, this is a deprecated method for ssh into WSL. Better to ssh into the Windows host but in a way that has system32's default shell configured to match the shell of your default distro in WSL2. Once you ssh into the Windows host, it requests a shell, the default shell. If that matches your default Linux distribution' shell in WSL2, then your default Linux also gets launched upon ssh into the Windows host. Cleaner and simpler. No need to repeatedly verify configs or run a script or job to fix port forward IP address, which is revised following a WSL shutdown. No need to configure firewall to open another port. Ssh to Windows' openssh-server, authenticate with Windows, Windows finds its system32 default shell, and if configured to match that of the WSL linux distro, then that distro gets launched, with Windows not WSL handling TCP traffic. Source: Scott Hanselman blog post dated August 4, 2020. Go there for more details and his clear instructions on a quick and easy setup. Nice video, nice channel 👍 Kindest regards, friends and neighbours.
@rickgaine3476
@rickgaine3476 9 ай бұрын
so, why did you copy the id_rsa.pub file from the .ssh directory to the desktop when you could ave just cd'dto the .ssh directory from /mnt/users/*/.ssh?
@philtoa334
@philtoa334 2 жыл бұрын
Thx_.
OpenSSH for Absolute Beginners
23:00
Veronica Explains
Рет қаралды 118 М.
Linux on Windows......Windows on Linux
23:54
NetworkChuck
Рет қаралды 512 М.
Farmer narrowly escapes tiger attack
00:20
CTV News
Рет қаралды 12 МЛН
Linux Crash Course - Connecting to Linux Servers via SSH
15:54
Learn Linux TV
Рет қаралды 69 М.
Windows Subsystem for Linux setup WSL2 Systemd, Ansible, and Kubernetes
20:50
How to Enable SSH on Linux Ubuntu (Easy Step by Step Guide) on WSL2
17:50
Kou Louise Academy
Рет қаралды 2,8 М.
Linux Terminal & GUI Inside of Windows 10 (WSL)
19:31
NeuralNine
Рет қаралды 178 М.
WSL 2 Networking
14:14
David Bombal
Рет қаралды 223 М.
Getting Started with OpenSSH Key Management
23:31
Learn Linux TV
Рет қаралды 45 М.
you need to learn tmux RIGHT NOW!!
17:46
NetworkChuck
Рет қаралды 574 М.
Professional Dependency Management with Pipfiles
11:17
NeuralNine
Рет қаралды 13 М.
Windows development setup with WSL2, ZSH, VSCode, and more
12:02
Christian Lempa
Рет қаралды 234 М.
Farmer narrowly escapes tiger attack
00:20
CTV News
Рет қаралды 12 МЛН