How to Install SSH Server on Windows 10 - Remote into a computer using Command Line [OpenSSH]

  Рет қаралды 116,203

SavvyNik

SavvyNik

Күн бұрын

Пікірлер: 168
@SavvyNik
@SavvyNik 4 жыл бұрын
Tutorial for installing the SSH Client - kzbin.info/www/bejne/gJOwmIKBoc9onKc Need help transferring files over SSH? - kzbin.info/www/bejne/aKaTemCLZalqi80
@shappp1
@shappp1 3 жыл бұрын
Thanks! I tried other tutorials but they didn't work. Finally got it working now
@SavvyNik
@SavvyNik 3 жыл бұрын
Awesome to hear Shane!! Glad you got things working. Make sure to destroy that like button for me if you haven't already.
@edithramos2138
@edithramos2138 2 жыл бұрын
Si
@fredericoborges9136
@fredericoborges9136 4 жыл бұрын
Realy helped me out for a college work, thanks!!! Subscribing cuz you deserve it and I may need your help some other time
@SavvyNik
@SavvyNik 4 жыл бұрын
Awesome to hear!! Thanks for subbing and following. Glad the video was helpful ^^
@waynesto4775
@waynesto4775 2 жыл бұрын
Thank YOU SO MUCH!!! I really needed to know how to do it I keep looking for more and more videos until I found yours! thank you again!
@SavvyNik
@SavvyNik 2 жыл бұрын
You are welcome!
@rahatsshowcase8614
@rahatsshowcase8614 Жыл бұрын
good job brother finally it worked. subscribed 💕💕
@SavvyNik
@SavvyNik Жыл бұрын
Glad to heat it thanks for the sub
@moncada420
@moncada420 Жыл бұрын
When i type in my password it says permission denied
@halo_jk1
@halo_jk1 Жыл бұрын
Thank you, but How do you make it public?
@Sridhar.Ananthanarayanan
@Sridhar.Ananthanarayanan 3 жыл бұрын
This was the simplest way I found to enable the built-in SSH server in Windows 10. I have two questions: 1. How to restrict access to specific devices based on their MAC addresses? 2. How to restrict access to specific folders instead of the entire system? I have partly resolved it using ChrootDirectory in the config file. Partly because it only allows one folder. How do I enable access to multiple folders on different paths on the disk? Thanks.
@danilo.quattrini
@danilo.quattrini 2 жыл бұрын
For the first question you could resolve the problem if you will use a firewall that you can install in your ssh server, and with different rules you could restrict the access. For the second question you can create a user that cannot interact to all the folders that you want.
@maxbroomfield5392
@maxbroomfield5392 8 ай бұрын
Thank you! Clear and concise!
@stricarzi
@stricarzi 4 жыл бұрын
Just what I needed . Greeting from Българиа
@yumyum3266
@yumyum3266 4 жыл бұрын
hi
@SavvyNik
@SavvyNik 4 жыл бұрын
Hey there MK =)
@DeepPatel-lz8fj
@DeepPatel-lz8fj 2 жыл бұрын
Thank you Nik, this really helped me out.
@SavvyNik
@SavvyNik 2 жыл бұрын
Glad to hear it. No problem.
@behradio
@behradio 2 жыл бұрын
What I needed bro thanks a lot
@SavvyNik
@SavvyNik 2 жыл бұрын
No problem 👍
@Jhonfreddy15
@Jhonfreddy15 3 жыл бұрын
Easy to understand, thank you!!
@SavvyNik
@SavvyNik 3 жыл бұрын
Glad it helped! You're welcome.
@jjschnyder
@jjschnyder 2 жыл бұрын
Do you also have a video on how to set it up so i can access outside of my network?
@SavvyNik
@SavvyNik 2 жыл бұрын
No and I do not suggest this outside a home network. This is mainly for servers that aren’t directly tied to your lan
@jjschnyder
@jjschnyder 2 жыл бұрын
@@SavvyNik ok, and what would be the reason? How vulnerable would an open port be?
@SavvyNik
@SavvyNik 2 жыл бұрын
An open port can become direct access to your network. It takes a port scanner and brute forcing the password.
@kebman
@kebman 3 жыл бұрын
I can only start the service with the local system admin account. This has made it impossible to ensure that only properly password-protected ED25519 keys are allowed, and so I can only SSH out of the Windows 10 computer, but not into it.
@mayhem1994
@mayhem1994 2 жыл бұрын
i didnt set a password and its still asking for one any ideas i try ssh_config but it says command unknow
@luizcosta8122
@luizcosta8122 Жыл бұрын
My question is how would you go from this to a remote connection from an external network using port forwarding and a ddns service?
@simplifiedelectronics3091
@simplifiedelectronics3091 2 жыл бұрын
thanks a lot!!! so nice reverb
@SavvyNik
@SavvyNik 2 жыл бұрын
Glad you liked it!
@seeker-of-knowledge-777
@seeker-of-knowledge-777 2 жыл бұрын
Worked great. Thanks!
@SavvyNik
@SavvyNik 2 жыл бұрын
You're welcome!
@laxmandhakal7608
@laxmandhakal7608 2 жыл бұрын
Simple to follow..thanks
@SavvyNik
@SavvyNik 2 жыл бұрын
You're welcome!
@nate1479
@nate1479 2 жыл бұрын
I have done everything in the vedio but when I try to ssh from another pc it says “permission denied, please try again” and yet my credentials are correct, please help me …..
@geervanireddy2359
@geervanireddy2359 Жыл бұрын
I'm facing the same issue. Please let me know if you solved it
@humoroustumorous6642
@humoroustumorous6642 3 жыл бұрын
What about for windows 10 home edition?
@SavvyNik
@SavvyNik 3 жыл бұрын
This will also work. You might just want to make sure you have the most updated version. They introduced this feature after a specific update release.
@davipires2999
@davipires2999 2 жыл бұрын
The video was very good, but I have some specific questions. I need to use paramiko to acess my ssh server on windows that I've installed after this video, is it possible to run a python script using paramiko in the machine that I've installed the ssh server?
@razakhan4754
@razakhan4754 4 жыл бұрын
Hi Thanks for the videos.. u made it really easy to understand... Im facing an issue... i did everything as u did .. What is the password... It didn't ask me to setup a password... When what will be the password....
@razakhan4754
@razakhan4754 4 жыл бұрын
Ssh client is also installed
@SavvyNik
@SavvyNik 4 жыл бұрын
You don't create a password because it's the Windows user and their password. Just like what you would use to login with on your login screen. If you don't have a local user setup you'll have to set on up.
@razakhan4754
@razakhan4754 4 жыл бұрын
Thanks....
@SavvyNik
@SavvyNik 4 жыл бұрын
@@razakhan4754 no problem. Make sure to destroy that like button for me if you haven't already.
@hailsatyr
@hailsatyr 2 жыл бұрын
What if the username is connected to corporate active directory domain? This method doesn't work and runs into an error
@mohfaqih9668
@mohfaqih9668 Жыл бұрын
does it only work on linux? or can work in fellow windows?
@SavvyNik
@SavvyNik Жыл бұрын
Works on both. I have videos on how to install both ssh client tools and server for Windows
@jasjotsingh5461
@jasjotsingh5461 2 жыл бұрын
thanks for the video bro !!
@SavvyNik
@SavvyNik 2 жыл бұрын
You’re welcome!
@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
@ylyaskudratullayev
@ylyaskudratullayev 2 жыл бұрын
but there is no "Open SSH Server" on my windows, I am looking for it there where you do. Please help
@mahammadmirajjuddin5600
@mahammadmirajjuddin5600 2 жыл бұрын
i have windows 10 pro...there is feature as ssh client (beta) which iam unable to install in my windows 10 pro..plz help me install this by any other means
@goobertgum
@goobertgum 2 жыл бұрын
I just finished this process and I can connect to my main PC with my laptop, can anyone with the login info connect or is it only machines connected to my home network?
@SavvyNik
@SavvyNik 2 жыл бұрын
Only local machines with local accounts. Otherwise you need to share keys and open up ports through your router
@goobertgum
@goobertgum 2 жыл бұрын
@@SavvyNik Thanks for the info. Is there any sorta tutorial that would show how to do that?
@konstantinosd
@konstantinosd 6 ай бұрын
I get the 1067 error when attempting to start openssh server service
@nabylalfahrezramadhanatekn1950
@nabylalfahrezramadhanatekn1950 Жыл бұрын
is the linux desktop in the same computer as you installed the ssh windows server?
@SavvyNik
@SavvyNik Жыл бұрын
No
@shambhunathsahani6505
@shambhunathsahani6505 2 жыл бұрын
HI follow same steps in my windows server while chekcing ssh id@win_ip getting error ..permission denied .please suggest (Redhat to window server 2016)
@Christobanistan
@Christobanistan 2 жыл бұрын
It always hangs during installation of the OpenSSH Server. It can't be cancelled, and when you try to reboot, it hangs saying an update is in progress and the ominous "don't turn off your computer" message. OFc the only solution is to force a shutdown. :( Any ideas?
@itsfrosted4664
@itsfrosted4664 3 жыл бұрын
How do I keep a process running after I close my putty / terminal
@SavvyNik
@SavvyNik 3 жыл бұрын
use something called tmux, here's one of my videos on it: kzbin.info/www/bejne/aoHGh619jrOkp6M
@isriadeputra
@isriadeputra 4 жыл бұрын
thanks brother your tutorial is good
@SavvyNik
@SavvyNik 4 жыл бұрын
Awesome! Glad you found it helpful. Make sure to smash that like button for me if you haven't already =)
@isriadeputra
@isriadeputra 4 жыл бұрын
@@SavvyNikoke
@GerardoMartinez-ce8re
@GerardoMartinez-ce8re 3 жыл бұрын
when it ask me for a password, i tried to put mi pin, because in my computer i dont have a password, just a pin and it dosent work with the pin, what do i do?
@SavvyNik
@SavvyNik 3 жыл бұрын
The pin won't work. You need a local account to login with or exchange ssh keys.
@JNET_Reloaded
@JNET_Reloaded 3 жыл бұрын
im on win 10 and theres no optionsal features in the list nothing searches!
@SavvyNik
@SavvyNik 3 жыл бұрын
Strange.. this is the first time I've heard of this one. Maybe someone else has ran into this issue?
@brunnolemoss
@brunnolemoss 3 жыл бұрын
It Works! Thank you so much!
@SavvyNik
@SavvyNik 3 жыл бұрын
You're welcome! Glad you found it helpful. Make sure to smash that like button for me if you haven't already.
@brunnolemoss
@brunnolemoss 3 жыл бұрын
@@SavvyNik it's done!
@SavvyNik
@SavvyNik 3 жыл бұрын
Wooot!!! Thanks.
@gamers4k174
@gamers4k174 3 жыл бұрын
i put my password and name of my pc and it doesnt connect it please help me
@Rafalski76
@Rafalski76 Жыл бұрын
same ;-(
@Sana-sn8vw
@Sana-sn8vw 4 жыл бұрын
When will youplay velloren?
@SavvyNik
@SavvyNik 4 жыл бұрын
Probably over the weekend, I try to do this on Saturdays.
@Sana-sn8vw
@Sana-sn8vw 4 жыл бұрын
@@SavvyNik ok savvynik
@MANISHKUMAR-ej8jw
@MANISHKUMAR-ej8jw 3 жыл бұрын
I am not getting any openSSH server in additional features, just seeing "Pan-European Supplemental Fonts" just after "Odia Supplement Fonts". Could you help me in it?
@SavvyNik
@SavvyNik 3 жыл бұрын
You probably don't have a update or version of Windows that offers the feature.
@MANISHKUMAR-ej8jw
@MANISHKUMAR-ej8jw 3 жыл бұрын
@@SavvyNik Thankyou So much Now It worked! :)
@asksimon9813
@asksimon9813 2 жыл бұрын
Now getting connection timed out after putting the command SSH (username:phone num) @ip4 address
@awunnenb
@awunnenb 4 жыл бұрын
How connect to Windows OpenSSH Server with publickey?
@SavvyNik
@SavvyNik 4 жыл бұрын
That's not something simple to explain over a chat, but I'm sure you could find another vid on youtube or if you just google it since you have things setup now it shouldn't be a big deal. It really just is adding a key to a hidden keys file that will allow you to connect automatically if you have the key of another computer in there.
@awunnenb
@awunnenb 4 жыл бұрын
@@SavvyNik thank you for answer. It's not a big deal to Linux Server but authorized_keys is not working with latest Windows 10 and OpenSSH Server. I can't find a tutorial that works.
@SavvyNik
@SavvyNik 4 жыл бұрын
@@awunnenb Interesting. I didn't know this. If I wasn't spending so much time with other videos maybe I could make one haha. Doesn't look like I'd get around to it anytime soon. Hope you find what you are looking for.
@akagaminoshanks6359
@akagaminoshanks6359 3 жыл бұрын
06:25 How can you set password? Whice password to use? I still confused because i never set any password
@SavvyNik
@SavvyNik 3 жыл бұрын
You must have a local account on the computer you are trying to remote into. You use the username and password from that local account in order to login.
@akagaminoshanks6359
@akagaminoshanks6359 3 жыл бұрын
@@SavvyNik I have try it but always show error message. The message is "Permission denied, please try again" after try 3 times the mesage is "Received disconnected from 192.xxx.x.x port 22:2: Too many authentication failures Disconnect from 192.xxx.x.x port 22" What's that mean?
@SavvyNik
@SavvyNik 3 жыл бұрын
@@akagaminoshanks6359 either your firewall is blocking you or you don't have the local account setup properly. You could always try creating a brand new local account for testing purposes.
@elbonko6048
@elbonko6048 Жыл бұрын
i dont have a password on my host machine so i cant logi please help
@SavvyNik
@SavvyNik Жыл бұрын
either exchange keys or make one for a local account and use it
@olaseindeloveth2394
@olaseindeloveth2394 2 жыл бұрын
I tried this, it says connection time out, any reason for this? And what can be done?
@olaseindeloveth2394
@olaseindeloveth2394 2 жыл бұрын
Connection to host por 22 timed out
@kjdtm
@kjdtm 2 жыл бұрын
Can you use scp from ubuntu to windows and from windows to ubuntu ? or a between windows and windows ?
@SavvyNik
@SavvyNik 2 жыл бұрын
Yes the tool works across platforms.
@umakha
@umakha Жыл бұрын
Could you please transfer a file from Linux to your Windows client?
@shambhunathsahani6505
@shambhunathsahani6505 2 жыл бұрын
Getting error permission denied while ssh from Linux to windows
@SavvyNik
@SavvyNik 2 жыл бұрын
confirm you have a local account on windows and that your firewall is opened up for ssh (port 22)
@shambhunathsahani6505
@shambhunathsahani6505 2 жыл бұрын
@@SavvyNik yes I have local account with admin access and firewall open 22 ,21,443..able to telnet from Linux to windows.
@testtestt-jf9gd
@testtestt-jf9gd Жыл бұрын
tyvm
@ajeetdev
@ajeetdev 3 жыл бұрын
I follow your all step but I am getting connection I try scan with nmap but I didn't find port 22 open
@SavvyNik
@SavvyNik 3 жыл бұрын
You probably have a firewall blocking it then whether it's in your router or at your server.
@ajeetdev
@ajeetdev 3 жыл бұрын
@@SavvyNik yes mcafee antivirus what is solutions? Although I scan through nmap 22 port are not showing there
@SavvyNik
@SavvyNik 3 жыл бұрын
Add an exception to your firewall for port 22.
@KOSRedacted
@KOSRedacted Жыл бұрын
It kept telling me my password was was wrong when I had to enter the password to even get on the pc
@ahmedbadia1485
@ahmedbadia1485 Жыл бұрын
Thanks!
@SavvyNik
@SavvyNik Жыл бұрын
No problem
@komalnagaraj5878
@komalnagaraj5878 3 жыл бұрын
@SavvyNik which password has to be entered?
@SavvyNik
@SavvyNik 3 жыл бұрын
It's the username and password of the computer that you are trying to connect to and that is running the SSH server.
@komalnagaraj5878
@komalnagaraj5878 3 жыл бұрын
@@SavvyNik i tried that..but it says permission denied.
@SavvyNik
@SavvyNik 3 жыл бұрын
@@komalnagaraj5878 You might have port 22 blocked by your firewall on your windows computer that you are trying to connect to. Check firewall settings.
@princenegi2399
@princenegi2399 2 жыл бұрын
I've followed the steps but its showing permission denied after putting password in different device
@prathvipatil3250
@prathvipatil3250 2 жыл бұрын
maybe password login is disabled try doing it with ssh keys
@MinerKingX
@MinerKingX 4 жыл бұрын
@SavvyNick can you log in with your Microsoft account password
@SavvyNik
@SavvyNik 4 жыл бұрын
No I don't believe so. This only works with local accounts. Otherwise you can generate keys and that would probably work as well.
@chaosgm5537
@chaosgm5537 2 жыл бұрын
what if i have no password?
@SavvyNik
@SavvyNik 2 жыл бұрын
you either need to exchange ssh keys or create a local account w/ password.
@xmo2z
@xmo2z 2 жыл бұрын
Which password do i have to use?
@juniper1135
@juniper1135 3 жыл бұрын
it says install failed after I tried to install openssh server everytime
@juniper1135
@juniper1135 3 жыл бұрын
@@emptyman1605 thx but it's already off
@arsalakhan8184
@arsalakhan8184 3 жыл бұрын
our problem is how to use ssh from window 10 to other windows
@SavvyNik
@SavvyNik 3 жыл бұрын
Setup an ssh server on the computer you're connecting to and a ssh client on the computer you're connecting from (kzbin.info/www/bejne/gJOwmIKBoc9onKc). Then make sure your firewall allows port 22 traffic and you should be good to go.
@baonguyen7013
@baonguyen7013 3 жыл бұрын
When i enter the password, it's say "permission denied (publickey, password, keyboard-interactive). How i can fix it? (i'm trying connect from MacOs to window10) Please help me because i have a exam in the next week. Thank you so much
@SavvyNik
@SavvyNik 3 жыл бұрын
you need to create a local account
@baonguyen7013
@baonguyen7013 3 жыл бұрын
@@SavvyNik Thanks, i got it, but now, when i access to that account, When i enter the password, it's say "permission denied (publickey, password, keyboard-interactive). And when i connect to administrator@ip, it's say connection closed by .... How can i fix it. Please help me because i have a exam in the next week. Thank you so much
@SavvyNik
@SavvyNik 3 жыл бұрын
look up how to exchange keys between computers for ssh. Your server doesn't seem to be accepting paraphrases (passwords for local account login)
@baonguyen7013
@baonguyen7013 3 жыл бұрын
@@SavvyNik Thanks, i got it. The last question is it possible to ssh into a non-local network? I try connect to a macbook of my friend but got time out. Is it only the LAN that can connect to ssh?
@SavvyNik
@SavvyNik 3 жыл бұрын
Yes, but this is a very bad idea because it involves opening ports up to the public. Security risk. Glad you got things figured out.
@utkarshsaraswat7892
@utkarshsaraswat7892 2 жыл бұрын
What's my ssh password? My pc don't have any password
@SavvyNik
@SavvyNik 2 жыл бұрын
You will need to setup a local account then so that you have a user for the server. The same pass and user you use for logging in will be for ssh.
@utkarshsaraswat7892
@utkarshsaraswat7892 2 жыл бұрын
@@SavvyNik Thankyou but one more thing can I connect this server from termux? You know using openssh
@olican101
@olican101 2 жыл бұрын
It says my password is wrong...
@DeveloperCSE
@DeveloperCSE Жыл бұрын
Bro how to set password in ssh in windows pls tell me
@SavvyNik
@SavvyNik Жыл бұрын
Create a local account
@jishanansari180
@jishanansari180 2 жыл бұрын
What is defualt password of ssh connection
@SavvyNik
@SavvyNik 2 жыл бұрын
It's your local account for the windows machine.
@PzmuV1517
@PzmuV1517 3 жыл бұрын
Super usefull
@SavvyNik
@SavvyNik 3 жыл бұрын
Glad to hear! Make sure to smash that like button for me if you haven't already =)
@prabeshbhujel1915
@prabeshbhujel1915 3 жыл бұрын
a very much thank you
@SavvyNik
@SavvyNik 3 жыл бұрын
You are welcome! I'm glad you found the video helpful. Make sure to smash that like button for me if you haven't already.
@matisd3069
@matisd3069 3 жыл бұрын
in this video you did not explain which password should be entered
@SavvyNik
@SavvyNik 3 жыл бұрын
You installed a server. The user and pass of the local windows account is what's used to SSH via a client to a server.
@matisd3069
@matisd3069 3 жыл бұрын
@@SavvyNik thanx 👍
@SavvyNik
@SavvyNik 3 жыл бұрын
You're welcome! Smash that like button for me if you haven't already.
@catechnology1234
@catechnology1234 3 жыл бұрын
muito obrigado por esse video existir me ajudou muito❤
@SavvyNik
@SavvyNik 3 жыл бұрын
You're welcome! Glad you liked it.
@mercermanley6819
@mercermanley6819 2 жыл бұрын
how do i make or know my password
@SavvyNik
@SavvyNik 2 жыл бұрын
Create a local account
@rodrigo.55
@rodrigo.55 2 жыл бұрын
perfect
@bahriddinjava4381
@bahriddinjava4381 2 жыл бұрын
thanks
@SavvyNik
@SavvyNik 2 жыл бұрын
You're welcome!
@chanelno5456
@chanelno5456 Жыл бұрын
whats that mean password? password of my computer?
@zai2001YT
@zai2001YT 11 ай бұрын
if i donot have a password
@pradhyun7938
@pradhyun7938 3 жыл бұрын
dude password dosent work
@wolfzert
@wolfzert Жыл бұрын
Domain and Public se pueden omitir si tienes tu red de casa solamente, para evitar sustos :v
@harishpavant
@harishpavant 3 жыл бұрын
I get access denied
@LordPein
@LordPein 2 жыл бұрын
FOR GOOOD SAKE! STOPING USING GRAFIC TO CONFIGURE SERVER!!!! PLIS!! STOPPPPED!
@EschoolIsrael
@EschoolIsrael 2 жыл бұрын
i getting this error Unable to negotiate with xx.xxx.xxx.xxx port 22: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1 how to fix it?
OpenSSH for Absolute Beginners
23:00
Veronica Explains
Рет қаралды 116 М.
КОГДА К БАТЕ ПРИШЕЛ ДРУГ😂#shorts
00:59
BATEK_OFFICIAL
Рет қаралды 8 МЛН
20+ Windows features you didn’t know about
16:17
Linus Tech Tips
Рет қаралды 2,5 МЛН
The Slow Death of Windows
17:22
TechAltar
Рет қаралды 1,1 МЛН
How to SSH into Windows from Windows (and copy files remotely)
9:23
Tony Teaches Tech
Рет қаралды 68 М.
40 Windows Commands you NEED to know (in 10 Minutes)
10:54
NetworkChuck
Рет қаралды 3,5 МЛН
the most secure OS in the world.....I hate it
20:26
NetworkChuck
Рет қаралды 662 М.
Haunt a Computer Using SSH [Tutorial]
19:10
Null Byte
Рет қаралды 392 М.
How to Remote Admin using SSH on Windows and Linux Server
8:53