Frequently Asked Questions

0
PuTTY FAQs

PuTTY General FAQs

1. What does PuTTY stand for?

Ans: The PuTTY doesn’t have meaning in itself. It is used to refer to the UNIX terminal for “tty”. It acts as a client for SSH, Telnet, rlogin and raw TCP computing protocols. 

2. What is the current version of PuTTY?

Ans: Simon Tatham has written and maintained it and 0.74 is the latest version. For Windows and UNIX platforms it is a free implementation of SSH and telnet, along with the xterm terminal emulator.

3. Can PuTTY be used with FTP?

Ans: Yes, but you need to follow the steps to connect to FTP.  Perform a Raw connection to Port 21 to configure your profile, once it gets connected to send the command USER and PASS.

FTP server name and password are required. It is suggested to use FTP Client instead.

4: Does PuTTY work on Linux?

Ans: Yes, PuTTY Linux is a graphical terminal program and used to connect the raw socket, typically for debugging. The protocols like SSH, Telnet, and rlogin terminal are supported to connect the serial ports. 

5. What is SSH PuTTY?

Ans: Network protocols like SCP, SSH, rlogin and raw socket connection are supported by it. 

SSH PuTTY is an open-source terminal emulator, network file transfer application and serial console.

6. Is PuTTY vt100 compatible?

Ans: Yes, but by default, it is turned off and allows the user to select a particular printer you have installed driver for your computer. The remote server takes over the control on the terminal support printing.

7: Is PuTTY Linux or Unix?

Ans: PuTTY can be ported to UNIX as pterm.scp is a special program that is used to copy a few lines via SSH connections. As we know PuTTY is a terminal emulator (able to run shells, which in turn run commands), For SSH application is a shell (not a terminal emulator).

8. What is the difference between PuTTY and SSH?

Ans: Simple protocol SCP is used for file transfer via SSH connections and uses the SFTP protocol to transfer files, list of directories, etc. PuTTY is a GUI terminal emulator for Windows and OpenSSH is the port available with built-in SSH clients for remote terminal sessions.

9. How do I port forward with SSH?

Ans: Follow the steps:

  1. Open the configuration menu and scroll down the Tunnels.
  2. Enter the port under Source port and destination under the Destination.
  3. The type of forwarding can be determined by the two pairs of the three radio buttons.

 Note: “Dynamic “and “Auto” work in maximum cases. Different selections have to be made in a specific case or when forwarding to multiple ports.

10. What is the difference between PuTTY and PuTTYgen?

Ans: PuTTYgen is used to generate the SSH key pairs and used for encryption, authentications, etc, whereas Putty uses the SSH keys.

PuTTY Technical FAQs

1. How to create a .pem file for ssh?

Ans:

Step 1: Generate the key $ ssh-keygen -t rsa -b 2048 -v 

  • Type my-certificate, when asked to enter file in which to save the key.
  • To enter the passphrase, press Enter and confirm by entering.

Step 2: Two files are generated i.e. my certificate and my-certificate.pub 

Note: Rename the my-certificate file to my-certificate.pem

Step 3: Use the following command to upload the public certificate to server:

ssh-copy-id -i ~/my-certificate.pub [email protected]

Step 4: Make.pem file on your computer to read-only sudo chmod 400 my-certificate.pem

Step 5: Login by $ sudo ssh -i /path/to/my-certificate.pem [email protected]

2. How to create a .pem file from the private key?

Ans:

 Step 1: Log in to DigiCert Management Console ,

  • download the Intermediate (DigiCertCA.crt) 
  • Primary Certificates (your_domain_name.crt).

           Step 2: Open a text editor (such as wordpad) and paste the full body for each certificate in    the following order:

  • your_domain_name.key → The Private Key 
  • your_domain_name.crt → The Primary Certificate 
  • DigiCertCA.crt → The Intermediate Certificate – 
  • TrustedRoot.crt → The Root Certificate – 

Note: It is mandatory to include the beginning and end tags on each certificate.

3. How to get the public key from the .pem file?

Ans: ssh-keygen -f private.pem -y > public.pub

Above command gets public key from .pem file.

4. How to get the private key from the .pem file?

Ans:

Step1: The text file look likes:

-----BEGIN CERTIFICATE-----
[encoded data]
-----END CERTIFICATE----

  • Get a copy of SSL from User Portal
  • Click → Next
  • Select Place all certificates in the following store → Click Browse
  • Select Personal folder → Click OK
  • Click → Next
  • Click → Finish
  • Click → OK

 Step 2: Export SSL Certificate (with Private Key) using Internet Explorer

  1. Open Microsoft Internet Explorer browser
  2. Click on Tools → Internet Options → Content → Certificates
  3. Select the SSL certificate → Under Personal tab
  4. Click → Export
  5. Click → Next
  6. Select Yes, export the private key → Click Next
  7. Select Include all certificates in the certificates path if possible → Click Next
  8. Enter a password → Click Next
  9. Specify the name & location of SSL certificate file  to be exported → Click Next
  10. Click → Finish
  11. Click → OK

Step 3:  Install SSL Certificate on Server.

Note: Depending on which certificate format is required to successfully install the exported .pfx (PKCS#12) certificate file on the server software.

5. How to install the .pem file in Linux?

Ans: Installing the root certificate on a Linux PC by following command:-

sudo mkdir /usr/local/share/ca-certificates/extra

sudo cp root.cert.pem /usr/local/share/ca-certificates/extra/root.cert.crt

sudo update-ca-certificates

6. How to generate .pem file from .ppk using PuTTYgen?

Ans:

Step 1: Start menu → All  Programs → PuTTY → PuTTYgen

Step2: Type of key to generate → Choose RSA.

Note: Older Version of PuTTygen → Choose SSH-2 RSA

Step 3: Choose Load

Step4: Select .pem file for key pair and choose Open. PuTTYGen display .pem file loaded successfully. Choose OK

Step 5: Save private key → to save the key in the format that can be used by PuTTY.

Note: PuTTYgen display message waning message of saving the key without passphrase → Choose Yes 

Step 6: Specify the name of the key that is used for the key pair and choose → Save.

Note: PuTTY itself adds the .ppk file extension.

The private key is in the correct format to be used by Putty. Now you can connect the instance PuTTY’s SSH client.

LEAVE A REPLY

Please enter your comment!
Please enter your name here