10 Useful SSH (Secure Shell) Interview Questions and Answers

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Use our Hosting referral link if you planning to start your blog ($3.82/month).
  4. Become a Supporter - Make a contribution via PayPal
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

41 Responses

  1. mutono geofrey says:

    when given three departments how can write policy document for the security system for the bank that ensures integrity authentication in the bank.

  2. Andrew says:

    Oh-oh-oh. There is no difference in config file names between RH, Debian, Gentoo and so on. I.e.
    ==================================================================
    root@seafile:~# lsb_release -d
    Description: Debian GNU/Linux 8.6 (jessie)
    root@seafile:~# ls /etc/ssh/*_config
    /etc/ssh/ssh_config /etc/ssh/sshd_config
    root@seafile:~# head -n 3 /etc/ssh/ssh_config

    # This is the ssh client system-wide configuration file. See
    # ssh_config(5) for more information. This file provides defaults for
    root@seafile:~# head -n 5 /etc/ssh/sshd_config
    # Package generated configuration file
    # See the sshd_config(5) manpage for details

    # What ports, IPs and protocols we listen for
    Port 22
    ==================================================================
    [root@aloe ~]# cat /etc/redhat-release
    CentOS release 4.9 (Final)
    [root@aloe ~]# ls /etc/ssh/*_config
    /etc/ssh/ssh_config /etc/ssh/sshd_config
    [root@aloe ~]# head -n 3 /etc/ssh/ssh_config
    # $OpenBSD: ssh_config,v 1.19 2003/08/13 08:46:31 markus Exp $

    # This is the ssh client system-wide configuration file. See
    [root@aloe ~]# head -n 5 /etc/ssh/sshd_config
    # $OpenBSD: sshd_config,v 1.69 2004/05/23 23:59:53 dtucker Exp $

    # This is the sshd server system-wide configuration file. See
    # sshd_config(5) for more information.
    ==================================================================
    isa ~ # cat /etc/gentoo-release
    Gentoo Base System release 2.3
    isa ~ # ls /etc/ssh/*_config
    /etc/ssh/ssh_config /etc/ssh/sshd_config
    isa ~ # head -n 3 /etc/ssh/ssh_config
    # $OpenBSD: ssh_config,v 1.30 2016/02/20 23:06:23 sobrado Exp $

    # This is the ssh client system-wide configuration file. See
    isa ~ # head -n 5 /etc/ssh/sshd_config
    # $OpenBSD: sshd_config,v 1.99 2016/07/11 03:19:44 tedu Exp $

    # This is the sshd server system-wide configuration file. See
    # sshd_config(5) for more information.
    ==================================================================

    Ubuntu, Mint, Calculate all of them have two config files ssh_config for ssh client and sshd_config for daemon.
    So seriously mistakes… :( Very bad!

  3. sumit kumar says:

    Hi Ravi,

    How does ssh work, mean to say what is the functionality of public and private key ,how the communication takes place b/w client and server.
    It was asked to me in vmware interview.
    Can you please help

  4. deepa says:

    Can SSH is used for making http requests to a web server, checking network path to a remote, and writing a web server, accessing a remote computer. please tell me the answer

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *

Join Over 300K+ Linux Users
  1. 202,035
  2. 9,267
  3. 38,621

Are you subscribed?