What is the default port & configuration file of SSH Server ?
How to change the default ssh port in linux ?
What is the configuration file of ssh client ?
What is SSH port forwarding ?
How to disable the root login in linux server ?
How to allow only specific users to ssh your linux server ?
How to Copy the file "server.txt" from the local machine to a remote host using port 2751 in /opt folder.
How to check SSH server's Version ?
How to enable debugging in ssh command ?
What is the difference between ssh & Telnet ?
What is use of sshpass command in linux ?
What is the use of scp command ?
What is the use of blowfish options in scp command ?
How to limit the bandwidth used by scp command ?
How to enable passwordless ssh authentication in Linux ?
Ssh interview questions and answers on advance and basic Ssh with example so this page for both freshers and experienced condidate. Fill the form below we will send the all interview questions on Ssh also add your Questions if any you have to ask and for apply
in Ssh Tutorials and Training course just send a mail on info@pcds.co.in in detail about your self.
Top Ssh interview questions and answers for freshers and experienced
What is Ssh ?
Answer :
Secure Shell - a network protocol for exchanging data throughout secure channel with most common uses of remote command execution (remote shell/console) and file transfer
Questions : 1 :: What is the default port & configuration file of SSH Server ?
22 is default port for ssh and ‘/etc/ssh/sshd_config’ is the configuration file.
Questions : 2 :: How to change the default ssh port in linux ?
To change the port , first edit the file ‘ /etc/ssh/sshd_config ‘ , change the vaule of parameter ‘ port 22 ‘, now restart the ssh...View answers
Questions : 3 :: What is the configuration file of ssh client ?
‘ /etc/ssh/ssh_config ‘ is configuration file for ssh client.
Questions : 4 :: What is SSH port forwarding ?
SSH Port Forwarding, sometimes called SSH Tunneling, which allows you to establish a secure SSH session and then tunnel arbitrary TCP connections through it. Tunnels can be created at any time, with...View answers
Questions : 5 :: How to disable the root login in linux server ?
Open the file ‘ /etc/ssh/sshd_config ‘ and chnage the paramenter ‘PermitRootLogin yes’ to ‘PermitRootLogin no’ & restart the ssh...View answers
Questions : 6 :: How to allow only specific users to ssh your linux server ?
Open the file ‘/etc/ssh/sshd_config’ and add the parameter ‘AllowUsers user1 user2′ & then restart the ssh server....View answers
Questions : 7 :: How to Copy the file "server.txt" from the local machine to a remote host using port 2751 in /opt folder.
Questions : 8 :: How to check SSH server's Version ?
Using the command ‘ ssh -V ‘ we can find the ssh server’s version.
Questions : 9 :: How to enable debugging in ssh command ?
To enable debugging in ssh command use ‘-v’ option like ‘ssh root@www.linuxtechi.com -v’. To increase the debugging level just increase the number of v’s....View answers
Questions : 10 :: What is the difference between ssh & Telnet ?
In ssh communication between client & server is encrypted but in telnet communication between the client & server is in plain text . We can also say SSH uses a public key for authentication...View answers
Questions : 11 :: What is use of sshpass command in linux ?
sshpass is a command which allows us to automatically supply password to the command prompt so that automated scripts can be run as desired by users. sshpass supplies password to ssh prompt using a...View answers
Questions : 12 :: What is the use of scp command ?
SCP stands for Secure Copy ,it copies files between hosts over a network. It uses ssh for data transfer & uses the same authentication and provides the same security as ssh....View answers
Questions : 13 :: What is the use of blowfish options in scp command ?
Using blowfish options in scp command , we can increase the speed, by default scp uses the Triple-DES cipher to encrypt the data being copied. Example : scp -c blowfish /home/itstuff.txt...View answers
Questions : 14 :: How to limit the bandwidth used by scp command ?
We can limit the bandwidth used by the scp command using the -l option as shown in the syntax.’#scp -l bandwidth_limit filename username@remote-host:/folder-name’ , where bandwidth_limit...View answers
Questions : 15 :: How to enable passwordless ssh authentication in Linux ?
To Implement passwordless or Keys based authentication we have to generate Public and Private keys , Copy the Pubic keys to remote Linux servers either manually or by ssh-copy-id command.ssh-copy-id...View answers
Disclimer: PCDS.CO.IN not responsible for any content, information, data or any feature of website.
If you are using this website then its your own responsibility to understand the content of the website