You can use PuTTY to create a secure SSH connection for tunneling communications between local and distant computers on Windows, granting secure access to network functions. PuTTY secures network traffic by establishing remote and local forwarding via an encrypted SSH session. SSH tunneling provides secure server access by routing traffic through a tunnel that is encrypted and authenticated.
Explore how to use PSCP to transfer files to Cisco console by using PuTTY.
Follow these instructions to connect to the server using SSH tunnels on Windows using PuTTY:
Download PuTTY:
Download and install PuTTY if it is not already installed.
Launch PuTTY:
Open the PuTTY configuration dialog.
Setup SSH Tunnels:
Enter the remote server IP address or hostname in the Hostname field.
Configure the connection type to SSH and the port to 22.
SSH Tunnel Configuration:
Choose Connection > SSH > Auth > Tunnels.
Set the following options under "Add new port forward port":
Source port: Enter a port number (for example, 96).
Destination: For connecting to a remote server, use the target name and port number (for example, localhost:85).
Save the Session:
Set the configuration name in the session category.
Click "Save" for future reference.
Connect to the SSH server:
To connect, press the "Open" button.
When asked, enter your username and password.
Access the Tunnels:
Once the SSH connection is established, use tunnels to access and handle various services on the remote server.
Close the connection:
Simply shut the PuTTY setup window to terminate the SSH tunnel connection.