Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Version History

« Previous Version 2 Current »

How to SSH from Windows Desktop to a linux server - using Powershell


Open powershell, from start menu

to ssh into server using username/password, type:  ssh <username>@<host>      or    ssh -l <username> <server name/ip>    

you will be prompted for the password.


to use your private key:  ssh -i <key file>  <username>@<host>


To Speed common connections up you can create a config file in .ssh folder in your profile c:\users\<username>\.ssh

which could be something like:

Host <hostname>
    User <username>
    Hostname <hostname>
    PreferredAuthentications publickey  
    IdentityFile ~/.ssh/<me>_rsa
Host 192.168.69.112  
    User <username>  
    Hostname 192.168.69.2
    PreferredAuthentications publickey  
    IdentityFile ~/.ssh/<me>_rsa


To create keys - google search or see section in help : GitLab and SSH




  • No labels