
#SSH TUNNEL SSL SOFTWARE#
Sample output: OpenSSH_6.1p1 Debian-4, OpenSSL 1.0.1c ĭebug1: Reading configuration data /etc/ssh/ssh_configĭebug1: /etc/ssh/ssh_config line 19: Applying options for *ĭebug1: Connecting to localhost port 443.ĭebug1: identity file /home/sk/.ssh/id_rsa type -1ĭebug1: identity file /home/sk/.ssh/id_rsa-cert type -1ĭebug1: identity file /home/sk/.ssh/id_dsa type -1ĭebug1: identity file /home/sk/.ssh/id_dsa-cert type -1ĭebug1: identity file /home/sk/.ssh/id_ecdsa type -1ĭebug1: identity file /home/sk/.ssh/id_ecdsa-cert type -1ĭebug1: Remote protocol version 2.0, remote software version OpenSSH_6.0p1 Debian-4ĭebug1: match: OpenSSH_6.0p1 Debian-4 pat OpenSSH*ĭebug1: Enabling compatibility mode for protocol 2.0ĭebug1: Local version string SSH-2.0-OpenSSH_6.1p1 Debian-4ĭebug1: kex: server->client aes128-ctr hmac-md5 noneĭebug1: kex: client->server aes128-ctr hmac-md5 noneĭebug1: expecting SSH2_MSG_KEX_ECDH_REPLYĭebug1: Server host key: ECDSA 78:05:ba:1b:73:02:75:86:10:33:8c:0f:21:61:d4:deĭebug1: Host ':443' is known and matches the ECDSA host key.ĭebug1: Found key in /home/sk/.ssh/known_hosts:12ĭebug1: ssh_ecdsa_verify: signature correctĭebug1: Authentications that can continue: publickey,passwordĭebug1: Next authentication method: publickeyĭebug1: Trying private key: /home/sk/.ssh/id_rsaĭebug1: Trying private key: /home/sk/.ssh/id_dsaĭebug1: Trying private key: /home/sk/.ssh/id_ecdsaĭebug1: Next authentication method: password You’ll be able to connect to your remote machine using command: $ ssh -v -p 443 This can be done by creating a new file nf under /etc/stunnel/ directory: Now we have to configure stunnel to tunnel 443(https) to 22(ssh). server FQDN or YOUR name) : Įmail Address : # cat stunnel.crt stunnel.key > stunnel.pem Organizational Unit Name (eg, section) :TechnicalĬommon Name (e.g. Organization Name (eg, company) : unixmen State or Province Name (full name) : Tamilnadu If you enter '.', the field will be left blank. There are quite a few fields but you can leave some blankįor some fields there will be a default value, What you are about to enter is what is called a Distinguished Name or a DN. You are about to be asked to enter information that will be incorporated You will be asked to answer for a couple of questions such as Country, State, company details etc.

Sample output: Generating RSA private key, 1024 bit long modulus Now let us create a SSL certificate as shown below.
#SSH TUNNEL SSL INSTALL#
Let us install stunnel package in our remote Debian 7 server.
