Comments on: 10 Useful SSH (Secure Shell) Interview Questions and Answers https://www.tecmint.com/ssh-interview-questions/ Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks. Sun, 12 Jul 2020 15:11:36 +0000 hourly 1 By: Andrew https://www.tecmint.com/ssh-interview-questions/comment-page-1/#comment-1344099 Sun, 12 Jul 2020 15:11:36 +0000 http://www.tecmint.com/?p=5819#comment-1344099 In reply to Himanshu Sain.

sshd_config is for daemon – ssh _server_ process working on host you connect to.

ssh_config is used to set up system-wide default settings for ssh command (ssh-client)

]]>
By: Himanshu Sain https://www.tecmint.com/ssh-interview-questions/comment-page-1/#comment-1300900 Wed, 04 Dec 2019 07:40:46 +0000 http://www.tecmint.com/?p=5819#comment-1300900 In Redhat OS, there are 2 files under /etc/ssh i.e sshd_config and ssh_config? What is the difference and what is the use of both files and for what purpose??

]]>
By: mutono geofrey https://www.tecmint.com/ssh-interview-questions/comment-page-1/#comment-871793 Tue, 28 Feb 2017 17:16:33 +0000 http://www.tecmint.com/?p=5819#comment-871793 when given three departments how can write policy document for the security system for the bank that ensures integrity authentication in the bank.

]]>
By: Andrew https://www.tecmint.com/ssh-interview-questions/comment-page-1/#comment-860377 Tue, 17 Jan 2017 17:39:07 +0000 http://www.tecmint.com/?p=5819#comment-860377 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!

]]>
By: sumit kumar https://www.tecmint.com/ssh-interview-questions/comment-page-1/#comment-854994 Tue, 27 Dec 2016 04:32:09 +0000 http://www.tecmint.com/?p=5819#comment-854994 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

]]>