Guides | PuttyKey https://www.puttygen.site Download PuTTY and PuTTY Key Generator Thu, 02 Sep 2021 09:53:00 +0000 en-US hourly 1 https://wordpress.org/?v=5.8.4 Basic PuTTY Commands (SSH Commands) https://www.puttygen.site/basic-putty-commands/ https://www.puttygen.site/basic-putty-commands/#respond Thu, 02 Sep 2021 08:21:00 +0000 https://www.puttygen.site/?p=128 Basic (PuTTY) SSH commands are helping you navigate and work efficiently with the files in the Linux terminal. We’d handpicked a list of basic PuTTY commands, their options, and usage in this guide. You can download PuTTY to connect with the Linux server. Basic SSH (PuTTY) commands are beneficial for a user to manage the […]

The post Basic PuTTY Commands (SSH Commands) appeared first on PuttyKey.

]]>
Basic (PuTTY) SSH commands are helping you navigate and work efficiently with the files in the Linux terminal. We’d handpicked a list of basic PuTTY commands, their options, and usage in this guide. You can download PuTTY to connect with the Linux server.

CommandsUse
pwdCheck the present location.
lsThis command used to display all the content in a folder or directory.
cdIt stands for change directory.
Type "cd /location"
It helps you to navigate.
cd .Helps you to stay at the same directory.
cd ..Command will shift one directory back.
cd -Commands take you back to the previous location.
For example, If you were at "/home" but you moved to "/dir".
Typing the "cd -" command will take you back to "/home".
mkdirIt helps you to make the new directory.
mkdir directoryNamecpThe command used to copy a file in Linux.
Syntax: cp filename.extension /dir/filename.extension.
The above command copies the file extension and keeps at the location/dir with the same name file.
cp -r *space[TargetLocation]Copy all the folder content.
cp -f space[Filename] space[Targetlocation]If a file with the same name happens in the destination, then it will force the copy process by deleting the destination file.
cp -i space[filename]space[Targetlocation]Display the warning message before proceeding with the copy process.
cp -u space[filename]space[Targetlocation]If file have different content .It will update the file in the destination folder.
cp -n space[Filename]space[Targetlocation]Will first check whether the file exists. If it happens. It don't overwrite the file again.
cp -a space[Filename]space[Targetlocation]Archive the file.
mv space[filename]space[destinationlocation]This command moves the file from one place to another.
(Syntax: mv filename.extension /dir/filename.extension)
"mv filename.extension /dir/filename1.extension” is used to move and rename a file.
mv filename ..Used to move file one folder back.
touch space[Filename]This command creates a new file with any extension you want like text, HTML, PHP, etc. in your current directory.
Syntax: touch filename.
the extension helps to create a file extension without any extension.
rm -f space[filename]Remove command will delete a file from a server.
Its Syntax: rm filename.extension.
rm * [foldername]Delete all the files or content in a directory.
rmdirRemove the complete directory or folder.
rm -r [foldername]Delete the folder as well as the folders inside it.
cat space[filename]To display content of a file on the screen. It also copy standard input to standard output.
Syntax: cat filename.extension.
cat command also allows scrolling if the displayed text doesn't fit the screen completely.
cat > filename.extensioncat command also used to create a new file.
Syntax: cat > filename.extension
It is also used to concatenate two files.
Syntax: catfile1.txtfile2.txt>mergedfile.txt
">" is the output redirection character
headAllow you to read the first ten lines of the content available inside the folder.
Syntax:head filename.extension
You can also update the number of lines you would like to display on the screen.
Syntax: head -n15 /temp/filename
Above Syntax will display the first fifteen lines of the content from the given file.
tailGives the last ten lines of content from the file.
Syntax: tail filename.extension
The tail command can provide multiple file names. It shows the last ten lines from each of the mentioned files.
Syntax: tail /dir/file1 /dir/file2
The tail command allows you to change the number of lines you want to be displayed, other than the default number.
Syntax: tail -n15 /temp/filename
Display the last fifteen lines of content from the given file.
zip -r [foldername].zip [foldername]Compress the file size.
The zip Syntax: zip -r foldername.zip folder name
zip -d [filename].zip [filename]Delete the file from the zip archive by the following command
"zip -d filename.zip filename"
zip -u [filename].zip [filename]The following command can update the specified list of files.
"zip -u filename.zip filename"
zip -m [filename].zip [filename]To delete the original file after creating its zip archive.
By the following command,
"zip -m filename.zip filename"
unzip [filename].zipThis command is used to decompress a file.
Syntax: unzip filename.zip
Multiple numbers of data are undone by using power.
"unzip file1.zip file2.zip file3.zip"
Syntax: unzip filename.zip -x excludedfile.zip
Syntax: unzip filename.zip -x excludedfile.zip
tarto compress and decompress folders, the tar command is used.
The command for compressing"folder".
tar -czvf folder1.tar.gz
The command for decompressing.
tar -xvf folder1.tar.gz
chmodIt allows you to change permissions of a file or directory. It stands for change mode.
Syntax: chmod 754 filenames.
Permissions can be represented either by numbers from 0 to 7 or with alphanumeric characters.
4 represents reading permission
2 represents writing permission
1 represents executing permission
0 represents no permission
5 is a combination of 4, 0, and 1. It suggests the read, no write, and execute an agreement.
4 are a combination of 4, 0, and 0. It indicates read, no write and no execute permission.
"chmod -r" allows you to change the permission of a folder and all the files inside it.
grepThis command enables you to search for a particular string inside a file or folder. If it finds the perfect match, it will return the whole line containing the phrase.
grep -i "string" [filename]The command "grep -i "string" filename."Allow you to search for a string case-insensitively in the file.
grep -c "string" [filename]The command "grep -c "string" filename." Allow you to count the number of appearances of a string in the given file.
grep -l "string" [filename]The command "grep -l "string" *".-> display the filename that contains a particular pattern or string.
grep -n "string" [filename]The command "grep -n "string" filename".-> display the line number along with the result.
findIt searches for a file inside a folder.
The Syntax: find. -name filename.extension.
By this Syntax, you can find files by permissions, users, groups, file type, size, etc.
The command "find /directory -name filename.extension"
find a file in some directory.
The power "find. type f -name filename.php".
You can look for any type of data, say a PHP file by using this command.
viIt allows you to enter a text editor.
Syntax: vi filename
The Syntax will open the data on the screen, and if the file doesn't exist, it will create a new one with the same name.
The escape key → allows you to cancel any command which has started in the vi editor mode.
To exit the vi editor, type ":q."
If in case you haven't done any changes to the file.
Type ":q!" to exit
If you want to undo the changes in a file.

Basic SSH (PuTTY) commands are beneficial for a user to manage the basic functionalities. These also commands help handle the files and folders on a Linux web server.

The post Basic PuTTY Commands (SSH Commands) appeared first on PuttyKey.

]]>
https://www.puttygen.site/basic-putty-commands/feed/ 0
Best PuTTY Alternative For SSH Clients https://www.puttygen.site/putty-alternative/ https://www.puttygen.site/putty-alternative/#respond Fri, 24 Jul 2020 10:20:08 +0000 https://www.puttygen.site/?p=139 PuTTY was initially working for Windows operating system, but now there are versions available for Linux. For that matter, we have listed below some PuTTY alternative applications. There are 8 PuTTY alternatives available for the Remote SSH client: Best PuTTY Alternatives for Remote SSH Client 1. Bitvise Bitwise is a Windows application and runs anything […]

The post Best PuTTY Alternative For SSH Clients appeared first on PuttyKey.

]]>
PuTTY was initially working for Windows operating system, but now there are versions available for Linux. For that matter, we have listed below some PuTTY alternative applications.

There are 8 PuTTY alternatives available for the Remote SSH client:

Best PuTTY Alternatives for Remote SSH Client

1. Bitvise

Bitvise

Bitwise is a Windows application and runs anything from Windows XP, Windows 10, and server 2016. It has become a better graphical interface due to the SFTP and SSH client functionality. Bitwise is the best PuTTY alternative to connect with the client server.

The features are as follows:

  • Portable install.
  • Options of  Customization.
  • Port Forwarding.
  • Graphical SFTP File Transfers.
  • Terminal Access – Remote Console.
  • Single Sign-on.

It allows the terminal emulation integration via bvterm and xterm, as well as supporting vt100 protocols. There is the availability of scripted command-line options.

2. SuperPuTTY

Superputty

SuperPuTTY is a graphical user interface used for Windows applications and mainly maintained by the active developer as a GitHub project.

It allows the user to change the layout as per their preference. It is well suited to fill the gap, which is much needed for window management.

It offers various features:

  • Tabs
  • Configuration integration of PuTTY.
  • Shortcut driven navigation.
  • UI  Customizable.

3. KiTTY

kitty

KiTTY is designed for Windows and providing the same features as PuTTY. It can run exclusively in a Windows environment. It is a great tool to be kept in a toolbox.

The features are as follows:

  • Portable
  • Text editor
  • Lightweight chat server.
  • It can run local scripts for Remote Systems/devices.
  • Options for Session Filtering.
  • It can connect with SSH, rLogin, Telnet, and others.

4. MobaXterm

MobaXterm

MobaXterm supports various features like Remote session manager, SFTP, Remote Desktop Manager, telnet, XDMCP, and VNC.

It has been built in X11 server integration, and it is the terminal application for Windows. Both free and paid versions are available in MobaXterm.

The features are as follows:

  • It supports the Master password.
  • Unlimited Macros and Tunnels.
  • Customize Logos.
  • Customize Startup message.
  • It removes unwanted tools and screensavers games.

5. Solar-PuTTY

Solar PuTTY

Solar-PuTTY is one of the top pick alternatives for PuTTY, as it can be executed from the install files. With the help of a tabbed interface, it can manage multiple sessions from one console.

The saved session can be found quickly, and it is a portable app. With IP Address, Tag, Name, and Username, you can effortlessly search this application.

 Features of Solar-Putty are as follows:

  • Post-Connections are fully supported.
  • Saved Credential is helpful in Auto-Login.
  • Change Fonts –Size and Fonts.
  • Assign Colors
  • Auto Reconnect
  • Assign Saved credentials to multiple IP Addresses and servers.
  • Supports various protocols like SSH, telnet, SFTP/FTP, and SCP.

6. mRemoteNG

mRemoteNG

mRemoteNG is one of the great alternatives for PuTTY. It has been forked from mRemote.

mRemoteNG is an open-source, multi-protocol, multi-tabbed, and remote connection management software. It allows you to view all the remote connections in a tabbed interface.

The mRemoteNG Protocols are listed below:

  • RDP
  • VNC
  • ICA
  • SSH
  • Telnet
  • HTTP/HTTPS
  • rlogin
  • Raw Sockets Connections.

7. PuTTYTray

PuttyTray

PuTTYtray gives some additional functionality to the original PuTTY client and adds practicality to the applications. It plays a significant role in minimizing the system tray.

The features of PuTTYTray are as follows:

  • Icons can be customized.
  • Blinks tray icons if received a Bell signal.
  • Portable
  • URL hyperlinks.
  • Window transparency configurable.

8. XShell 6 Client

XShell 6 Client

Netsarang has created the Xshell 6 Client terminal emulator. It is a helpful tool for connecting to Telnet, rlogin, SSH1, SSH2, SFTP, and serial connections. It created a flexible tabbed environment.

The computer can act as a terminal with the help of Xshell, and it plays a significant role when data contained within the mainframe need to be accessed. It splits the tabs horizontally or vertically and is fully customized.

It has multiple advantages like custom key mapping, dynamic port forwarding, and many more. It is an open-source package and doesn’t require to pay any fee.

The features of Xshell are as follows:

  • Launch X Applications by SSH Tunnel.
  • Using the Local Shell Interface to Control Xshell.
  • Session Manager.
  • Highlight Sets.
  • Python Scripting, JavaScript, and VB.
  • Custom Key Mappings/ Keyboard.
  • Tabbed Environment.
  • Password Encryption (Saved Sessions).

The post Best PuTTY Alternative For SSH Clients appeared first on PuttyKey.

]]>
https://www.puttygen.site/putty-alternative/feed/ 0
Convert .pem to .ppk File https://www.puttygen.site/convert-pem-to-ppk-file/ https://www.puttygen.site/convert-pem-to-ppk-file/#respond Thu, 23 Jul 2020 11:16:11 +0000 https://www.puttygen.site/?p=103 PuTTY plays a significant role in secure transfer and connectivity from the local host to a remote system. The native file format is .ppk files. The private key must be in the native form of the application if you are using PuTTY. The Cloud computing platform is a core part of EC2 and generates the […]

The post Convert .pem to .ppk File appeared first on PuttyKey.

]]>
PuTTY plays a significant role in secure transfer and connectivity from the local host to a remote system. The native file format is .ppk files. The private key must be in the native form of the application if you are using PuTTY.

The Cloud computing platform is a core part of EC2 and generates the PEM file format; before connecting to Linux, the user converts the file into a .ppk file format.

What is .pem File Format?

In 1993 IETC defines “privacy-enhanced mail” known as .PEM file format. It contains multiple instances. Suffix like “.pem”, a “.cer” or a “.crt” or a”.key” are used to store Pem data in files. Cryptographic keys, certificates, and other data are stored and sent by the extension .PEM file format.

Three elements defined by PEM format:

  1. A one-line header, consisting of “—–BEGIN”, a label, and “—–“.
  2. Base64 encoded binary data.
  3. A one-line footer, consisting of “—–END”, a label, and “—–“.

.PEM file format is safe for ASCII and rich-text documents’, such as emails.

Example of a certificate stored:

pem certificate

Multiple Messages

The PEM file may contain multiple messages; it can combine the certificate or provide the certificate chain and the private key in a single file.

What is .PPK file format?

The private keys generated by the program are stored in .PPK files. PuTTY develops the Private Key file, and the key file authentication is stored in .PPK files make it serves as a computer maker.

The steps for authentication .PPK files are as follows:

  1. Choose the connection.
  2. SSH → Auth (Putty Configuration Menu).
  3. Click → Browse → Enable Option “Private Key File”.

Note: .PPK files can be open for Windows, Linux, and MAC OS.

How to convert PEM to PPK file? (Windows)

The steps are as follows:

1. Start menu → All Programs → PuTTY → puttygen

PuTTY Key Generator

2. Select option → RSA

RSA is used to transmit data securely and is known as a public-key cryptosystem. Select the option SSH-2 RSA for the old version of PuTTY.

3. Click → Load

It only shows the .ppk files extension, as Putty supports the native file format.

User must follow the sub-step:

  • Dropdown bar → All files

Display All key files included in the .pem file.

4. Select → .pem file

It is crucial for the user to select the specific file, as mentioned earlier that Putty is used for SSH connectivity.

  • Click → Open
  • To confirm, click → Ok

5. Click → ‘Save private key’ 

6. Putty prompt warning for saving the key without a Passphrase. Hit “Yes” on it.

7. Putty will automatically add the .ppk file extension when the name is given to a file.

Note: Users can connect their local machine with remote servers when the file is converted to a PuTTY compatible format.

How to convert PPK file to PEM in macOS?

First of all, you need to install Homebrew to convert .ppk to .pem file in macOS. After that you need to follow below steps:

  1. First, install the PuTTY. 
    brew install putty
  2. Second, Convert Putty Key to Open SSH.
    puttygen puttykey.ppk -O private-openssh -o privatekey.pem

How to convert PPK file to PEM file? (Linux)

First, install the Putty application on the Unix machines. Then run the PuTTYgen command and type the below command.

$ sudo puttygen pemKey.pem -o ppkKey.ppk -O private

The post Convert .pem to .ppk File appeared first on PuttyKey.

]]>
https://www.puttygen.site/convert-pem-to-ppk-file/feed/ 0