Difference between revisions of "Rocky Access Windows"

From NIMBioS
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
= Windows Software =
= Protocols and Software =


Rocky access is provided through [[https://en.wikipedia.org/wiki/Secure_Shell SSH]] to provide a command-line shell or [[https://en.wikipedia.org/wiki/Secure_copy_protocol SCP]] to upload/download files.  There are multiple windows programs that will provide SSH and SCP connections.  This document describes the use of two of the most popular ones: PuTTY for SSH and WinSCP for SCP.
Rocky access is provided through [[https://en.wikipedia.org/wiki/Secure_Shell SSH]] to provide a command-line shell or [[https://en.wikipedia.org/wiki/Secure_copy_protocol SCP]] to upload/download files.  There are multiple windows programs that will provide SSH and SCP connections.  This document describes the use of two of the most popular ones: PuTTY for SSH and WinSCP for SCP.
Authentication for Rocky is accomplished via Public Key Authentication.  You will need to generate a key pair.  This can be accomplished with the PuTTYgen application installed with PuTTY.  The key pair will be used by both PuTTY and WinSCP to connect to Rocky.


= PuTTY =
= PuTTY =
PuTTY is a program commonly used to connect to servers via SSH from a Windows computer.  The Windows Installer will install PuTTY SSH Client, the PuTTYgen key generation utility, the Pageant SSH authentication agent, and the PuTTY SCP/SFTP utilities.
 
== Install ==
 
The Windows Installer will install PuTTY SSH Client, the PuTTYgen key generation utility, the Pageant SSH authentication agent, and the PuTTY SCP/SFTP utilities.


The latest version can be downloaded from:
The latest version can be downloaded from:
Line 11: Line 16:


== Generate Key Pair ==
== Generate Key Pair ==
[[File:Rocky keygen windows.gif|thumb|SEE IN ACTION]]


Using the newly installed Puttygen program:
Using the newly installed Puttygen program:
Line 16: Line 23:
* Enter a key passphrase (will be needed to access your private key)
* Enter a key passphrase (will be needed to access your private key)
* Save your private key somewhere safe
* Save your private key somewhere safe
* Copy your public key
* Save and/or Copy your public key
 
<span style='color: red'>Keep your private key file and contents safe and do not share them.</span>
<br><br><br><br>
 
== Connect to Rocky ==
[[File:Rocky putty.gif|thumb|SEE IN ACTION]]
 
Using PuTTY:
* Under Session, set the Host Name to <your username>@rocky.nimbios.org
* Under Connection > SSH > Auth, Browse to your private key file
* You can go back to session and save the settings or just hit Open to connect
* The first time, you'll be asked to accept the host key.
 
<br><br><br><br>
 
 
= WinSCP =
 
== Install ==
 
The latest version can be found at: https://winscp.net/eng/download.php
 
== Connect to Rocky ==
 
[[File:Rocky winscp.gif|thumb|SEE IN ACTION]]


<hr>
Open WinSCP and set up a new connection for Rocky:
* File protocol: SCP
* Host name: rocky.nimbios.org
* User name: <your username>
* In Advanced > Authentication, choose your private key file
* Save the connection details and then Login


[[File:Rocky keygen windows.gif]]


<hr>
You should be able to drag and drop files from and to the WinSCP window once connected.

Latest revision as of 17:50, 5 July 2022

Protocols and Software

Rocky access is provided through [SSH] to provide a command-line shell or [SCP] to upload/download files. There are multiple windows programs that will provide SSH and SCP connections. This document describes the use of two of the most popular ones: PuTTY for SSH and WinSCP for SCP.

Authentication for Rocky is accomplished via Public Key Authentication. You will need to generate a key pair. This can be accomplished with the PuTTYgen application installed with PuTTY. The key pair will be used by both PuTTY and WinSCP to connect to Rocky.

PuTTY

Install

The Windows Installer will install PuTTY SSH Client, the PuTTYgen key generation utility, the Pageant SSH authentication agent, and the PuTTY SCP/SFTP utilities.

The latest version can be downloaded from: https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html


Generate Key Pair

SEE IN ACTION

Using the newly installed Puttygen program:

  • Generate a new key pair with the generate button
  • Enter a key passphrase (will be needed to access your private key)
  • Save your private key somewhere safe
  • Save and/or Copy your public key

Keep your private key file and contents safe and do not share them.



Connect to Rocky

SEE IN ACTION

Using PuTTY:

  • Under Session, set the Host Name to <your username>@rocky.nimbios.org
  • Under Connection > SSH > Auth, Browse to your private key file
  • You can go back to session and save the settings or just hit Open to connect
  • The first time, you'll be asked to accept the host key.






WinSCP

Install

The latest version can be found at: https://winscp.net/eng/download.php

Connect to Rocky

SEE IN ACTION

Open WinSCP and set up a new connection for Rocky:

  • File protocol: SCP
  • Host name: rocky.nimbios.org
  • User name: <your username>
  • In Advanced > Authentication, choose your private key file
  • Save the connection details and then Login


You should be able to drag and drop files from and to the WinSCP window once connected.