Posts

Showing posts from March, 2025

How to connect to WSL from WinSCP

Image
 Hi, In this post, we will see how to connect to WSL from WinSCP  Install OpenSSH Server: Install openssh using command  Command 1: " sudo apt install openssh-server -y" After installation, confirm that the service is available: Command 2: "systemctl list-unit-files | grep ssh" If you see ssh.service , then it's installed correctly. Start and Enable SSH Service Try starting the SSH service: Command 3: " sudo service ssh start" Enable it to start on boot: Command 4: "sudo systemctl enable ssh" Check its status: Command 5: "sudo systemctl status ssh" If it's running, you're good to go. Open WSL and connect to WSL using like below screenshot. Hostname: localhost Username: your WSL username Password: your WSL password Hope it helps!. Thank you.

How to set new password in WSL

Image
 Hi, In this post, we will see how to set new password for wsl. Sometime, we may forgot our WSL password, in this post we will see how to set new password. Open your local machine terminal and run command "wsl -u root" to login as root After that, run command "passwd username" It will ask to enter new password and retype password.  Your password will be successfully updated. Hope it helps. Thank you.