SSH - SSH client (OpenSsh)

Card Puncher Data Processing


ssh is a ssh client from wiki/OpenSSH (




  • user's private key location: ~/.ssh/id_rsa


ssh-agent is a background process where you can store keys (encrypted by a passphrase or not).


  • User wide
touch ~/.ssh/config
chmod 600 ~/.ssh/config
vim ~/.ssh/config
  • System wide
# This is the ssh client system-wide configuration file.  See
# ssh_config(5) for more information.  This file provides defaults for
# users, and the values can be changed in per-user configuration files
# or on the command line.

# Configuration data is parsed as follows:
#  1. command line options
#  2. user-specific file
#  3. system-wide file
# Any configuration value is only changed the first time it is set.
# Thus, host-specific definitions should be at the beginning of the
# configuration file, and defaults at the end.

# Site-wide defaults for some commonly used options.  For a comprehensive
# list of available options, their meanings and defaults, please see the
# ssh_config(5) man page.

Host *
#   ForwardAgent no
#   ForwardX11 no
#   ForwardX11Trusted yes
#   RhostsRSAAuthentication no
#   RSAAuthentication yes
#   PasswordAuthentication yes
#   HostbasedAuthentication no
#   GSSAPIAuthentication no
#   GSSAPIDelegateCredentials no
#   GSSAPIKeyExchange no
#   GSSAPITrustDNS no
#   BatchMode no
#   CheckHostIP yes
#   AddressFamily any
#   ConnectTimeout 0
#   StrictHostKeyChecking ask
#   IdentityFile ~/.ssh/identity
#   IdentityFile ~/.ssh/id_rsa
#   IdentityFile ~/.ssh/id_dsa
#   IdentityFile ~/.ssh/id_ecdsa
#   IdentityFile ~/.ssh/id_ed25519
#   Port 22
#   Protocol 2
#   Cipher 3des
#   Ciphers aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc
#   MACs hmac-md5,hmac-sha1,[email protected],hmac-ripemd160
#   EscapeChar ~
#   Tunnel no
#   TunnelDevice any:any
#   PermitLocalCommand no
#   VisualHostKey no
#   ProxyCommand ssh -q -W %h:%p
#   RekeyLimit 1G 1h
    SendEnv LANG LC_*
    HashKnownHosts yes
    GSSAPIAuthentication yes
    GSSAPIDelegateCredentials no

Executing a remote command

ssh user@host "command -arg1 'arg1value' -arg2 'arg2 value'"

Don't forget the quote to bypass the expansion mechanism


ssh -vvv hostname

Logging with a private key

ssh -i private_key.pem user@hostname


Discover More
Cryptography - SSH

in the context of cryptography. For authentication: Public Key on the server: Add it to the ~/.ssh/authorized_keys file Private Key on the client: Configure PuTTY to use your private key file...
How can I protect myself from Bad Bot (Spambot, Attacker )?

Bad Bots are robots with bad intentions. They are also known as attackers. They walk through: web pages trying to find a form and to fill them trying: to send email in mass to create a fake...
Linux - Remote Client

How to connect to a linux system in a remote mode ? In console mode, with the help of this network protocol : ssh telnet In graphic mode: the X Windows System Virtual Network Computing (VNC)...
Map Of Internet 1973
What is the Application layer, level 7 of the OSI model?

What is the Application layer, level 7 of the OSI model? Application layer is the 7 layer of OSI model that contains all services/application that implements a functionality above the transport layer...
Card Puncher Data Processing
Oracle - RDA (Remote Diagnostic Agent)

RDA (Remote Diagnostic Agent) is: a set of command line, diagnostic and data collection scripts used to gather detailed diagnostic information an oracle environment and collect only: data for...
Mos Lifetime Support
Oracle Company - My Oracle Support (MOS)

MOS is an acronym for My Oracle Support. It's the single entry for the Oracle Support. You can touch it on this URL: Contact: Local...
Porte Cle Keystore Pem
Privacy-Enhanced Mail (PEM) (OpenSsh key format)

Privacy-Enhanced Mail (PEM) is a file formats for cryptographic material (key, certificate, ..). The PEM format is the DER format encoded in base64 with additional header and footer lines to be transported...
Ssh Agent Key Connection Putty
SSH - Agent Forwarding (Forward Key)

agent forwarding is a mechanism whereby an SSH client allows an SSH server to use the local agent on the server, the user logs into, as if it was local there. We say that the private key is forwarded...
Card Puncher Data Processing
SSH - Authentication Agent

An authentication agent is a component of the public key authentication scheme that permits you to be authenticated op basis of a key file. It is a background process that stores your private keys in...
Card Puncher Data Processing
SSH - How to made an Ssh connection in a shell (for instance from Cygwin, CygwinX) ?

How to made an SSH connection to a Linux Operating system with a shell from a term, xterm of Cygwin, CygwinX ? Install the ssh component of Cygwin start the console and use this syntax: From...

Share this page:
Follow us:
Task Runner