FTP User Management and Server Testing Quiz
18 Questions
0 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

What is the recommended bit length to increase security when generating an RSA key using ssh-keygen?

  • 1024 bits
  • 2048 bits
  • 3072 bits
  • 4096 bits (correct)

What is the purpose of a passphrase when setting up a Passwordless SSH?

  • To establish the connection
  • To authenticate the server
  • To encrypt the public key
  • To encrypt the private key (correct)

Which command is used to upload your public key to a remote Linux server in a Passwordless SSH setup?

  • ssh-copy-id (correct)
  • ssh-upload-key
  • scp id remote_server
  • scp public_key remote_server

What network protocol is commonly used for transferring files between computers on a network?

<p>FTP (D)</p> Signup and view all the answers

When setting up an FTP server, what is an essential step after installing the FTP server software?

<p>Configure the FTP server to meet your needs (B)</p> Signup and view all the answers

Which of the following is a common FTP server software?

<p>FTP Server (D)</p> Signup and view all the answers

What command is used to restart the bind9 service?

<p>sudo service named restart (A)</p> Signup and view all the answers

Which tool is commonly used for packet sniffing?

<p>tcpdump and Wireshark (C)</p> Signup and view all the answers

Which component of a mail server is responsible for routing and delivering email messages between mail servers?

<p>Mail Transfer Agent (MTA) (D)</p> Signup and view all the answers

What is NOT an example of Mail Transfer Agent (MTA)?

<p>FTP (C)</p> Signup and view all the answers

Which file in Postfix contains global configuration settings?

<p>/etc/postfix/main.cf (A)</p> Signup and view all the answers

To set up an FTP server, which command should be used to install the Postfix software?

<p>sudo apt install postfix (D)</p> Signup and view all the answers

What is the purpose of setting up FTP user accounts and permissions?

<p>To control who can access the FTP server and what files they can access (A)</p> Signup and view all the answers

Which command is used to start and enable the VSFTP server on Ubuntu?

<p>sudo systemctl enable vsftpd (C)</p> Signup and view all the answers

What command would you use to allow FTP traffic through a firewall on port 20?

<p>sudo ufw allow 20/tcp (B)</p> Signup and view all the answers

What is SAMBA primarily used for?

<p>To share resources between Linux and Windows systems (B)</p> Signup and view all the answers

In the context of FTP, what does 'lcd /home/dnsuser' command do?

<p>Change local directory to /home/dnsuser (C)</p> Signup and view all the answers

Which software suite allows Linux and Unix-based systems to act as Windows file and printer servers?

<p>SAMBA (A)</p> Signup and view all the answers

More Like This

Use Quizgecko on...
Browser
Browser