How to Access SSH Command Line in Windows

preview_player
Показать описание
In this tutorial we will guide you on how to access windows SSH command line.

Step #1: Getting started with SSH

To use SSH, let's open up the command prompt and type

With this command we will connect to the SSH server. Over here, we have specified the server username followed by the IP address.

Step #2: Authentication

You will see a prompt asking for the password. Type the password here and press Enter.

Step #3: SSH Server

As a result, you will notice a Linux based command prompt being displayed which means you have successfully accessed the server using windows command line ssh.

Step #4: Accessing SSH Server

Now, you can use all the Linux based commands in the windows environment. For example, if we type ls and hit enter, it will display all the contents of the SSH server.

Step #5: Using SSH Server Resources

To read a file on the SSH server, you can use the cat command followed by the name of the file. Let's open up this file over here. Once we hit enter, you will see that the xml file is displayed in the command prompt over here.

Step #7: Terminating Session

To end the session of the windows command line ssh, simply type logout and hit enter. You will be notified that the connection has been closed.

And that is how windows SSH command line is used to access the SSH server, execute commands and use its resources in a secure manner.
Рекомендации по теме
Комментарии
Автор

how to install ssh .tell me that in woindows i downloaded what yuo mentioned

AdityaRajVerma
Автор

Thank you for the simplicity in explaining SSH. Appreciated.

christianlira
Автор

& If I want to access windows laptop through Mac Terminal ?

SuperDangwal
Автор

I know this is old but for people still looking this up
All you have to do extract the contents to where ever you want. Cd into that directory and from there follow the video.
Example:
Extract contents to C:\Users\Nick\OpenSSH
From the command line type: cd C:\Users\Nick\OpenSSH
Obviously replace with your IP.


Thanks for the video

nickmiller
Автор

i can't seem to find a download of open ssh for windows

gearsofinspiration
Автор

It's return No kex alg How can I fix that ?

kak
Автор

I just added putty to my path [winkey > cmd (CR) > putty(CR)] ta da fairly simple and it gives me more than just ssh connections! :D

TeganBurns
Автор

sir i cant find my passward for ssh kindly help.

touseefriaz
Автор

Great, but how to login using keypair? Every time I try, it failed with message: Permission 0444 for key file are too open. Plus, I used chmod 400 on the pen file.

tomjerry
Автор

This is good but I think you must teach without any third part software.

practicalstudy
Автор

Thanks .. You know this question was ask me in an interview? I failed. But Fail is the first step to success. Now I can log in any VM's and Switch from Windows cmd.

spd
Автор

Or you can just google and download PuTTY. Its easy!
You can also find SSH protocols on smartphones : )

-_Nuke_-
Автор

cmd not ran by administrator, same as urs. same windows build

unknown command ssh and so on for all of the commands you used. gg ikr

Pokemonowner
Автор

Common dude ssh is not a recognized command

lycanperk