Тёмный

SSH To Windows Using Public Key 

William Campbell
Подписаться 6 тыс.
Просмотров 71 тыс.
50% 1

Install OpenSSH Server on Windows 10, and connect from Linux and Windows using public key authentication.
Also see related videos:
Windows Terminal SSH Public Key Authentication: • Windows Terminal SSH P...
Windows Terminal Install and Configure: • Windows Terminal Insta...
Commands to copy and paste include bracket characters, not allowed in RU-vid descriptions.
Download TEXT file of the commands:
www.marspremedia.com/download...
Substitute USER and IP for your user name and server's IP address.

Наука

Опубликовано:

 

5 сен 2021

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 189   
@user-rd4up1qe5z
@user-rd4up1qe5z 2 месяца назад
I was going nuts forcing the key into C:\Users\USER\.ssh\authorized_keys, like if it were a Linux host, but obviously that didn't work. I followed your steps and it worked like a charm. This kind of videos is all we novice sysadmins need!
@willia_music
@willia_music Год назад
what a gymnastics routine to get up and running. Thanks for the clear and concise instructions
@wc7
@wc7 Год назад
Yes it's not a simple process. Was some work just to figure out best way to describe all of that without making it more confusing. Great to hear that effort was successful.
@johnp9988
@johnp9988 2 года назад
I'm super thankful for this, you got me using my public/private key instead of passwords to SSH into my windows machine from a linux based device. I was doing a number of things wrong. I didnt have the right credentials for administrators_authorized_keys or that file in general, and I was using an administrator account and placing keys in the authorized_keys file. Thank you for the corrections and the help getting the public key in the right file with the right access controls. I super appreciate it!
@wc7
@wc7 2 года назад
I'm glad it helped. Thank you for the feedback.
@subhashbhalerao2008
@subhashbhalerao2008 Год назад
Exactly, I am having same problem, definitely I will try this, thanks
@uguremirmustafaoglu40
@uguremirmustafaoglu40 Год назад
Is it bad to use authorized_keys under the Administrator user's .ssh folder?
@Nikhil-Tomar
@Nikhil-Tomar Год назад
This video is better than all the blogs and videos out there, Thumbs Up. Great content.
@wc7
@wc7 Год назад
Thank you for the kinds words. Good to hear the effort put in the video helps others.
@WINGNUT307
@WINGNUT307 2 года назад
Thanks for the video. I was stuck following other tutorials but this one cleared things in my head and I've now got 2 Windows machines and a Hassio machine interconnected with keys.
@wc7
@wc7 2 года назад
Great to hear. I'm glad it helped.
@rodrigomaximilianobellusci8860
@rodrigomaximilianobellusci8860 2 года назад
Thanks William! It was exactly what I needed after an hour of fumbling around trying to set it up myself 😅
@wc7
@wc7 2 года назад
Awesome! I'm glad it helped. Any other topics, leave a comment. I'm always looking for ideas for new videos. Thanks!
@tlarson91119
@tlarson91119 Год назад
This is the first guide that I've been able to follow and actually get it to work! Thanks a ton
@wc7
@wc7 Год назад
Good to hear. Thanks for watching.
@Elendill79
@Elendill79 2 месяца назад
excellent explanation, I saw many manuals and videos and none explain as well as you, I thank you new follower from Venezuela
@chinjanpatel
@chinjanpatel Год назад
Man. Thank you so much. I don't understand why official documents does not provide such details. Good work keep up
@wc7
@wc7 Год назад
Thank you! That inspires me to make more similar content. Any suggestions for topics I should cover?
@unazheal5409
@unazheal5409 Год назад
bro youre a f****** champ!!! do you know how long ive been sitting here trying to figure this out from god awfully confusing videos doing 20 things at once. THANK YOU!!!!!!! this is perfect and worked for me SO EASILY AS IT SHOULD BE where as 4 other videos have failed. THANKS!!!!
@wc7
@wc7 Год назад
Thanks. Glad it helps.
@rpmarketing9864
@rpmarketing9864 7 месяцев назад
The ONLY video that gave me a solution. Thanks
@Eliasam13
@Eliasam13 Месяц назад
Thank you, followed this exactly and worked first try!
@maziarghorbani
@maziarghorbani 3 месяца назад
Thank you. The explanation and demonstration were super helpful.
@julianterhorst2486
@julianterhorst2486 Год назад
Great stuff, I absolutely loved it - and it worked!
@brentrockwood
@brentrockwood 25 дней назад
Excellent video. Would have taken me forever to figure that out on my own.
@nonoob2.035
@nonoob2.035 5 месяцев назад
Wow, thank you so much! This was the only Video that could solve my problem, that neither any other video nor me in many hours could solve. Even if, in my case the only problem might have been, that I didn't know about having to uncomment the options in the config file xD. Either way, thank you.
@surfninja
@surfninja Год назад
Thank you! Every other guide I saw left out setting permissions on the authorized keys file. That was the one thing I was missing.
@wc7
@wc7 Год назад
Great to hear. Thanks for watching.
@spyiro2007
@spyiro2007 2 года назад
Hello, Thank you very much, i have been struggling with this and you helped alot. I however just need to say to those who fails the part with : icacls administrators_authorized_keys /inheritance:r /grant "Administrators:F" /grant "SYSTEM:F" If your system is running in a language other than english, Administrators should be written in the system language, otherwise it will never work
@wc7
@wc7 2 года назад
Yes I encountered this with a German user. The value here is whatever name your system uses for the Administrators group. This can be determined by opening Computer Management (a number of ways, for example, right-click Start menu and select in fly-out menu), then in section "Local Users and Groups", look inside the "Groups" section. In English systems it is second item "Administrators". Look here for your variation. Use that in the command.
@hespanhol011
@hespanhol011 3 месяца назад
THE ONLY VIDEO THAT SOLVED MY PROBLEM!!!
@Bargains20xx
@Bargains20xx 2 года назад
Wow, that was awesome, guys don't forget to check the description, and download all commands from there
@wc7
@wc7 2 года назад
Nice. Thanks.
@blackwoodie
@blackwoodie 2 года назад
Thanks William , very clear and right what I was loking for, :)
@wc7
@wc7 2 года назад
Great! Glad I could help.
@Carlos1979Mad
@Carlos1979Mad 2 года назад
Thank you very much Sir. Crystal clear as water and working at the first try. Muchas gracias!!!
@wc7
@wc7 2 года назад
Great! Thank you!
@redihoxha7650
@redihoxha7650 2 года назад
Thank you so much for the detailed instructions.
@wc7
@wc7 2 года назад
You're welcome. I'm glad to help.
@DobermanVO
@DobermanVO 2 года назад
Thank you so much ! Exactly what I needed.
@wc7
@wc7 2 года назад
Glad it helped.
@jupiterapollo4985
@jupiterapollo4985 Год назад
You talk so seriously, making me feel like if I made a single mistake I would delete my whole system or something 😅. In any case, thank you so much William, your a lifesaver.
@wc7
@wc7 Год назад
Good to hear it works for you. Thanks for watching.
@UzairAhmad.
@UzairAhmad. 16 дней назад
Thanks. I really appreciate your work.
@aboeldhb
@aboeldhb Год назад
most valuable one across many
@wc7
@wc7 Год назад
Thanks
@hgaber105
@hgaber105 2 года назад
Thanks a lot. Very informative and the steps are very clear, and it works 👍
@wc7
@wc7 2 года назад
You are welcome, and thanks for the + on clarity. I am glad it helps.
@Jacky-rc6mu
@Jacky-rc6mu 6 месяцев назад
This is the BEST video, others is just shxt, not even reocrd in two seperate windows, how the f__k do i know which is server which is local lol. Thanks William!
@unmatal
@unmatal 3 месяца назад
Thanks man. Great help
@SrihariPEnCloud
@SrihariPEnCloud 6 месяцев назад
Thank you, it worked.👍
@user-kn4dd7mt9e
@user-kn4dd7mt9e Год назад
Thanks mate! Very helpul.
@zl4457
@zl4457 2 года назад
You saved my day!! Really really appreciate it!!!!!
@zl4457
@zl4457 2 года назад
And I found this method might only work with rsa key instead of dsa key
@wc7
@wc7 2 года назад
Great. I'm glad it helped.
@highwaylinuxdude
@highwaylinuxdude Год назад
Nice job, very clear and helpful
@wc7
@wc7 Год назад
Thanks. Glad you like like it.
@erikavagyan5879
@erikavagyan5879 Год назад
Excelent video, thank you William!
@wc7
@wc7 Год назад
You're welcome. Thanks for watching.
@dedisubandi3391
@dedisubandi3391 10 месяцев назад
Thank you for the sharing..!❤
@Kyletics
@Kyletics Год назад
This was perfect! Thank you!
@wc7
@wc7 Год назад
Glad it helps. Thanks for watching.
@trenthm
@trenthm Год назад
Thanks so much! So thankful
@aceisastud
@aceisastud 4 месяца назад
Fantastic thank you!!!🎉
@robert_nissan
@robert_nissan 2 года назад
súper, me ayudo bastante bro, gracias 🙏🏼
@wc7
@wc7 2 года назад
Thanks.
@AhmedAlaghbari
@AhmedAlaghbari Год назад
this was so so so helpful thanks a million
@wc7
@wc7 Год назад
You're welcome. Thanks for watching.
@gerardobaron4592
@gerardobaron4592 2 года назад
Worked perfectly!!
@wc7
@wc7 2 года назад
Great. I'm glad it helped.
@steja2396
@steja2396 17 дней назад
THANK YOU SIR.
@JohnJohnson-sf5wl
@JohnJohnson-sf5wl 2 года назад
Still a rusty but good explanation I will understand better with time. Thanks Sir
@wc7
@wc7 2 года назад
Thanks
@zxcvbs
@zxcvbs 2 года назад
thanks this is key to solve Permission denied (publickey,gssapi-with-mic,keyboard-interactive).
@wc7
@wc7 2 года назад
Great. I'm glad it helps.
@240ping.24fps
@240ping.24fps 2 года назад
I can't thank you enough!
@wc7
@wc7 2 года назад
You are welcome. Glad it helps.
@historyjkazryjka3844
@historyjkazryjka3844 2 года назад
Thank you sooooo much!
@wc7
@wc7 2 года назад
Glad to help.
@KujoTenshi
@KujoTenshi 2 года назад
you are a godsend i could ssh into linux public key fine but not windows...of course its windows
@wc7
@wc7 2 года назад
Great. I'm glad it helps.
@10_bn
@10_bn 2 года назад
perfect, thx!!!
@wc7
@wc7 2 года назад
Glad it helped!
@theconfusedchannel6365
@theconfusedchannel6365 Год назад
Amazing!. thanks for this. Why windows documentation Sucks. they spend so much time, but we always have to look somewhere else.
@wc7
@wc7 Год назад
I'm glad it helps. Thanks for watching.
@Elendill79
@Elendill79 2 месяца назад
Thanks you
@jespereriksson9229
@jespereriksson9229 Год назад
Hello - if you wanted to connect via ssh over the internet to your home windows 10 computer running openssh server, which more steps need to be taken? I guess you need to open the firewall of the remote computer for incoming traffic etc?
@wc7
@wc7 Год назад
It is possible. You would have to open port 22 on your router, and forward it to your Windows machine, which would also have to allow connections on the port. HOWEVER, I would strongly recommend using a different port number. Everyone (every hacker) knows what port 22 is for. Set your router and your Windows SSH server to something in the range 12000-14000 (usually safe to use). Just pick at random, say 12533 (for example; pick your own). Only you know that is the correct port. It's safer that way. Chances of someone guessing your obscure port number are low.
@PriestApostate
@PriestApostate 10 месяцев назад
Thanks for this video - do you have a corresponding one in which you are signing SSHing into the Ubuntu system from a Windows system?
@wc7
@wc7 10 месяцев назад
I do not.
@vetriforward6819
@vetriforward6819 2 года назад
genius man !
@wc7
@wc7 2 года назад
Thank you! Is there any other subject I should make a video? All suggestions are welcome.
@vetriforward6819
@vetriforward6819 2 года назад
@@wc7 welcome, can I copy Linux public key and copy in the windows
@wc7
@wc7 2 года назад
@@vetriforward6819 Yes, that is possible. It does work. But the typical use is to have each client have its own private key, different from others. At least, that seems to be the recommended method. But I have done what you describe, and it does will work.
@khalilaliane1690
@khalilaliane1690 7 месяцев назад
life saver
@zainuddinbrahim4625
@zainuddinbrahim4625 Год назад
Thank u
@wc7
@wc7 Год назад
You're welcome. Thanks for watching.
@claudiodeluca2357
@claudiodeluca2357 Год назад
I LOVE You!!!
@wc7
@wc7 Год назад
Thanks.
@valentinekamau4891
@valentinekamau4891 Год назад
Do I need to have debian to get an ssh public key? I have followed the whole process but using windows10 command prompt and I got lost half way. Please advice.
@wc7
@wc7 Год назад
A Debian host isn't required, but to test you need something else besides the Windows host, from which to connect to the Windows host. For that I used a Debian virtual machine as the other computer. It could be another physical computer or laptop, whatever is on the same network. Public/private keys can be generated in Windows or any flavor of Linux.
@kycatrescue7305
@kycatrescue7305 Год назад
I had the same problem. I started the video thinking the instructions were for two different platforms, and I was just following the Windows instructions. Would be helpful if this was done with two windows laptops.
@user-yc9cr1tm9m
@user-yc9cr1tm9m Год назад
In my case, ssh did not accept the private key because the file did not have the proper permissions as shown in the video, and the warning appears (use the -v parameter) "WARNING: UNPROTECTED PRIVATE KEY FILE!". Leave permission only for your user, administrators and the system. Good luck!
@santiagojhosuaparraiporre7106
@santiagojhosuaparraiporre7106 11 месяцев назад
bastante bien
@sanjee2
@sanjee2 2 года назад
some videos comment out the match group administrators and administrators_authorized_keys, when we need this and when we not? and possible to have pubkey authentication + password together? ( same concept as MFA)
@wc7
@wc7 2 года назад
I don't what it means to comment out match group administrators, etc. Are you referring to lines in the sshd_config file? Regardless, if another suggest commenting something to disable it, OK maybe that's a good suggestion. I have no idea. I can only relay what I have found to work, which is the content of the video. I'm sure there's plenty more to it that I don't know. About using a password, keep the line "PasswordAuthentication" set to "yes".
@pradeepdumpala8574
@pradeepdumpala8574 2 года назад
I tired the set-up with Windows Server 2019. Password based SSH is working fine, but when I am trying with key based , it always throwing error saying permission denied on my WSL ubuntu on my windows laptop. When I tried with putty it is saying server refused key. any clue ?
@wc7
@wc7 2 года назад
Not sure. I have only tried this on Windows 10 but I don't see why it would be different on Server. See if you can find any logs. Should be in "%programdata%\ssh\logs\" Look for auth.log. Maybe in Event log security also. Either might have a more specific reason authentication fails.
@satdevlpr
@satdevlpr Год назад
When i ssh from windows machine it did not generate id_ras_pub file but instead generated known_hosts file in .ssh folder.. what to do now
@wc7
@wc7 Год назад
Run keygen to make id_rsa and pub. Watch video again. Pay close attention at 4:30 to 5:10
@ArunKarthikgayan
@ArunKarthikgayan 2 года назад
I'm able to add key and clone using my account, but fails when I try running thru windows service, getting host key authentication failed. please do advice
@wc7
@wc7 2 года назад
It is difficult for me to help knowing so little about your configuration. My first advice would be to ensure your account is an Administrator. And be sure to follow the steps explained in the video about how that is a different file to edit than regular users (I can't imagine giving non-admin users SSH access, so I didn't bother to include that). I'm not sure what you mean by "clone" in your comment. Perhaps back up your current key (if you have an existing one you're trying to preserve) then do ALL steps in the video, including generating a fresh key file. Beyond that I don't know how much more I can help without being there.
@yonite4355
@yonite4355 2 года назад
Hello, I am struggling to set up ssh on my VM Windows 10 and Host windows 11. Could you please help me? Please let me know if there is another way to contact you.
@wc7
@wc7 2 года назад
Follow the steps in the video and it should work. Unless you're not an admin user. I wouldn't recommend that anyway. To reach me by email, start at my website contact page: www.marspremedia.com/contact/
@yonite4355
@yonite4355 2 года назад
@@wc7 thanks for your response. The problem happens to be I logged in to my computer with my Microsoft account. It worked when I logged in locally
@wc7
@wc7 2 года назад
@@yonite4355 Great. I'm glad to hear it worked out. Thank you for responding. It may help others users who have the same problem.
@aravinddurga9093
@aravinddurga9093 Год назад
If I am trying to open sshd_config, "You don't have permission to open the file, contact file owner or an administrator to obtain permission", can you please help on this!!!
@wc7
@wc7 Год назад
Just like it says. You need admin permissions. I mentioned this at the start. Log in as Administrator or add your user account to the Administrators group. Windows 10 right-click Start menu, Computer Management. In Section Local Users and Groups, find the user account, right-click properties, Member of tab, add the Administrators group.
@krishnadj10
@krishnadj10 2 месяца назад
HI @William Campbell , First of all Thank you very much for the video .I have two linux source servers from where i want to connect to the windows server. In the video you have taken the id_rsa.pub file from one linux server and put that in programdata/ssh .but in my case since i have two servers how can i have both the public keys in my windows server. Please help me.
@wc7
@wc7 Месяц назад
Copy the same .pub file to both servers.
@vekariyaarpit4466
@vekariyaarpit4466 2 года назад
Which password I have to enter when authentication is done? Please give me answer as soon as possible
@wc7
@wc7 2 года назад
There is no password. The public/private key pair acts as the password. That's the point. But if you set a passphrase during key generation, you are prompted to enter that, similar to a password. Only you know that passphrase, if one was set.
@Udemycourse-cq1yi
@Udemycourse-cq1yi 2 месяца назад
Hi Wiliam, I followed your step but somehow, it's not working. is it bcoz I am trying to connect Windows server from a WSL linux which is created on same windows server?
@wc7
@wc7 2 месяца назад
I don't know. I don't use WSL so I'm not sure, but there shouldn't be any reason it wouldn't work the same it does with an actual server or virtual machine. As for the problem, please be more specific. "It's not working" is vague. What isn't working?
@baileybelisario7372
@baileybelisario7372 2 года назад
icacls saved me
@wc7
@wc7 2 года назад
Great! Good to hear it.
@srinath8626
@srinath8626 8 месяцев назад
How to make the vagrant user ssh to Ubuntu vm on a windows lap. Vagrant is blocked by public key authentication permission
@wc7
@wc7 8 месяцев назад
I have no idea what a "vagrant" user is, other than by its definition, a person without a home. Not sure what that means in relation to a computer systems user account.
@srinath8626
@srinath8626 8 месяцев назад
I came across an automation tool called Vagrant for managing multiple Virtual machines thank you for the meaning 😆
@wc7
@wc7 8 месяцев назад
@@srinath8626 OK. I am not familiar with the product so I can't answer your question. I don't know an answer any better than you do. You need to pick the brain of someone familiar with the VM hosting product.
@sujisand
@sujisand 2 года назад
How can i ssh to ubuntu from windows after generating key pair in windows computer ? Could you please answer?
@wc7
@wc7 2 года назад
This video is the other way around -- ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-ORks4JXxJp0.html If you have already made a key pair in Windows, skip the part about running keygen. Do all the rest as the video describes, just not keygen, or it will replace your current key, which then breaks any other SSH you had previously set up. All the rest is OK, just don't run keygen again. Unless you want to start clean with a fresh key. Then follow the video instructions for that part too.
@sujisand
@sujisand 2 года назад
Hi @@wc7 Thanks for the reply.
@luiyitechs
@luiyitechs 6 месяцев назад
Hello, when you say 3:48 enter the password. What password are you referring to?
@wc7
@wc7 6 месяцев назад
the password for the user at the server you want to access
@zxcvbqwerty2091
@zxcvbqwerty2091 Год назад
sir im still kinda new and just start learning using linux. i wanna ask in min 03:50 the password i need to input is my linux user password or the windows user password that i will SSH into ?
@wc7
@wc7 Год назад
User name and password for Windows user account on the server.
@zxcvbqwerty2091
@zxcvbqwerty2091 Год назад
@@wc7 i see, thank you so much for the info and fast reply. you got a new subscriber :D
@wc7
@wc7 Год назад
@@zxcvbqwerty2091 Awesome. Thanks for watching.
@thenewone3944
@thenewone3944 Год назад
what about for standard users? I generated a keypair from a linux machine and it is still prompting for a password. Can someone please help me? There isn't a single video / thread on this issue apparently.
@wc7
@wc7 Год назад
Giving regular users SSH access is not recommended, likely why there are no videos showing how to do it. This does not mean access is limited to the user "Administrator" or "root". Other users may be given access. They just have to be members of the Administrators Group.
@thenewone3944
@thenewone3944 Год назад
@@wc7 So only admins can be ssh’d into on windows?
@wc7
@wc7 Год назад
@@thenewone3944 Any user can be given SSH access. But that level of access SHOULD only be given to admin users.
@thenewone3944
@thenewone3944 Год назад
@@wc7 I can’t figure out why it’s not working for me. It’s so much easier with linux. I’ve got the pub copied into the users authorized_keys, Modified sshd_config, checked permissions.
@nhoxxz2282
@nhoxxz2282 2 года назад
Good :) 8) ❤❤😎
@wc7
@wc7 2 года назад
Thanks. I'm glad you like it. Suggestions for other topics are always welcome.
@HiManLOL
@HiManLOL Год назад
installed feature and add feature window list is empty
@wc7
@wc7 Год назад
If there are no currently installed optional features, I would question if your Windows install is valid. There are usually at least a few items already installed. If typing "ssh" in the search input does not show "OpenSSH Server" then again I suspect something is wrong with the installation of Windows. Are you connected to the Internet? Are all latest updates installed? What version of Windows?
@dwd_0105
@dwd_0105 Год назад
Hi i did put the user password of the Windows Client but it still gives permission denied. Did I do something wrong?
@wc7
@wc7 Год назад
There must be a user account with the same credentials on the Windows server hosting SSH server.
@dwd_0105
@dwd_0105 Год назад
@@wc7 So the User needs to have an Microsoft account?
@wc7
@wc7 Год назад
@@dwd_0105 No. Just a regular user account, like any Windows machine. What is used to log in to Windows. The server may have other credentials, perhaps "Administrator" but for a regular user to get access to the server, they need a user account on the server. It doesn't have to be, but usually it's the same credentials as the user logs in to their own Windows box. That's how I do it when adding users to give them access to a server.
@giovannivieira5830
@giovannivieira5830 19 дней назад
How to install OpenSSH Server and make it start automatically with windows 10: 0:40
@ylyaskudratullayev
@ylyaskudratullayev 2 года назад
but there is no "Open SSH Server" on my windows, I am looking for it there where you do. Please help
@wc7
@wc7 2 года назад
What version of Windows? Also, be sure when searching use OpenSSH one word, not Open SSH two words. That won't match. That's why I suggest simply search for SSH and that usually finds it.
@ylyaskudratullayev
@ylyaskudratullayev 2 года назад
@@wc7 Windows 10 pro 1703, I tried to look for OpenSSH still nothing. Thank you very much for response
@wc7
@wc7 2 года назад
@@ylyaskudratullayev Your version of Windows is out of date. OpenSSH Server wasn't added until the October 2018 version 1809. You have Fall 2017 version. Run Windows Update.
@ylyaskudratullayev
@ylyaskudratullayev 2 года назад
@@wc7 Thank you very much!
@struggle375
@struggle375 Год назад
I have followed this video and many others I am not sure why I keep getting Permission denied
@wc7
@wc7 Год назад
Hard to say why from a distance. My first guess is the user trying to log in isn't an Administrator.
@krishnadj10
@krishnadj10 3 месяца назад
I have the same requirement to do ssh from linux to windows but with non admin user account. Can you please tell me how to do this. Admin account ssh is working fine as i tried that with your video.thanks in advance
@praveen3794
@praveen3794 Год назад
Could some one help im getting permission denied issue 😔 while entering password
@wc7
@wc7 Год назад
Either the user doesn't exist on the host server, or the user has a different password. Also ensure the user on the host server is an administrator (user is in the Administrator group).
@moviesynopsis001
@moviesynopsis001 3 месяца назад
William why did they need to make it this confusing to get SSH keys working ? Its not intuitive at all especially when we need to do the inheritance stuff. Is there a reason that they need to make things this illogical and complicated for something like an SSH connection between two pcs in this day and age?
@user-fi5qb4uk5q
@user-fi5qb4uk5q 2 года назад
where do we get the password(3/50 minutе) from?
@wc7
@wc7 2 года назад
It's the password for the Windows user name you enter on the command line. If doing this like the video, on your local Windows machine, it's your regular Windows account user name, and the same password you use to log in to Windows. If the Windows box you're trying to contact is another machine, it's the user name password on that box. To SSH to Windows, the server needs an account defined that you use to log in with. The user name and password on the command line is that account's user name and password.
@DanielSchless
@DanielSchless Год назад
Is there a reason you didn't include using the ssh-agent service and ssh-add to securely store the private key? This would have allowed removing the server's private key for storage else where. I don't care to have private keys lying about...
@wc7
@wc7 Год назад
I choose not to make hour long videos, and can only fit so much. The topics I choose to cover are driven by viewer demand. If enough ask for the additional you describe, perhaps I'll make a video about that also. Thanks for watching.
@DanielSchless
@DanielSchless Год назад
I understand; perhaps you could include such references in the notes section.
@bojanplesa1221
@bojanplesa1221 Месяц назад
I have problem with password...I all installed like should but problem is password..On windows i dont have any password and i dont know what password is on ssh server...Is there a way to change that password that i can do all other steps or change it.Thank you
@wc7
@wc7 Месяц назад
Windows password is your Windows user password. Password on SSH server password for that user on the SSH server. Could be the same, that's up to you how you set up your network. Mine I make the same for Windows file sharing to work without having to put in a password every time.
@bojanplesa1221
@bojanplesa1221 Месяц назад
@@wc7 that is problem because i didnt put any password
@user-hf7jr9dh2i
@user-hf7jr9dh2i 5 месяцев назад
Thank you William for this video, for along time I have tried to use public key authentication in Windows 10, I have followed Microsoft documentation but nothing have worked until I have found your video above and everything have worked for me. Thank you for your detailed tutorial. Do you have courses in Udfemy?
@wc7
@wc7 5 месяцев назад
No I don't have any courses. Most of my tutorials are for Adobe Scripting using JavaScript. I don't do a lot of system admin videos. Just once in a while for things I had to figure out how to do myself, so I thought to share.
@cizgifilmkolikcizgifilm1963
@cizgifilmkolikcizgifilm1963 4 месяца назад
Wonderful.... How for windows and windows?
@wc7
@wc7 4 месяца назад
Works the same. Just substitute the Debian console with a Windows Terminal console.
@cizgifilmkolikcizgifilm1963
@cizgifilmkolikcizgifilm1963 4 месяца назад
@@wc7 Thank you. Can you make a Contabo VDS and SSH video?
@wc7
@wc7 4 месяца назад
@@cizgifilmkolikcizgifilm1963 I can only make videos about topics I know.
@PradeepKumar-oj5ce
@PradeepKumar-oj5ce 8 месяцев назад
which password need to enter....??
@wc7
@wc7 8 месяцев назад
Use credentials for a user on the target server. If you don't yet have a user on the target server, add an account with password on the target server. Use those credentials.
@ShakKy33
@ShakKy33 Год назад
where is the password ?
@wc7
@wc7 Год назад
The Windows user account password.
@jamilsonjunior284
@jamilsonjunior284 Год назад
@@wc7 does not work here either... the windows user account password is just not accepted
@wc7
@wc7 Год назад
@@jamilsonjunior284 Does the user have an account on the server? There must be a user account with admin permissions on the server hosting SSH server that matches the credentials trying to log in.
@nitinsingh-yy7sd
@nitinsingh-yy7sd Год назад
Pass bot working
@wc7
@wc7 Год назад
OK
@joshuagalit6936
@joshuagalit6936 Год назад
so much bla bla bla I need command line
@wc7
@wc7 Год назад
Command line begins around 3:40 after the server is installed.
Далее
SSH Key Authentication | How to Create SSH Key Pairs
18:46
Редакция. News: 124-я неделя
52:01
Просмотров 1,8 млн
The Hardest Challenge!
00:37
Просмотров 11 млн
아이스크림으로 체감되는 요즘 물가
00:16
Windows Terminal SSH Public Key Authentication
12:18
Просмотров 27 тыс.
OpenSSH is about to change. (For the better.)
10:00
Просмотров 139 тыс.
SSH Keys
10:12
Просмотров 103 тыс.
How SSH Works
8:54
Просмотров 491 тыс.
How to use SSH Public Key authentication
8:26
Просмотров 121 тыс.