CompTIA Linux+

Category - LINUX

You want to load the ssh client and connect to an sshd daemon running on a host with an IP address of 192.168.1.25. Your user account jackshw. Which of the following commands should you use?
  1. sshd -l jackshw 192.168.1.25
  2. ssh -u jackshw 192.168.1.25
  3. ssh -l jackshw 192.168.1.25
  4. ssh user= jackshw 192.168.1.25
Explanation
Answer - C - You should use the ssh -l jackshw 192.168.1.25 command to load the ssh client and connect to an sshd daemon running on a host with an IP address of 192.168.1.25.

Key Takeaway: Sshd is the daemon program for ssh. Sshd and ssh replace rlogin and rsh to provide secure encrypted communications between two untrusted hosts over an insecure network. sshd forks a new daemon for each incoming connection. The forked daemons handle key exchange, encryption, authentication, command execution, and data exchange.
Was this helpful? Upvote!
Login to contribute your own answer or details