Microsoft

AZ-800 practice question 101

Administering Windows Server Hybrid Core Infrastructure · free question 101 of 246

Question

Your network contains an Active Directory Domain Services (AD DS) domain named contoso.com. The domain contains two servers named Server1 and Server2 that run Windows Server. The domain contains two users named User1 and User2. You perform the following tasks: • Enable Remote SSH Access on Server2. • Sign in to Server1 as User1. You need to establish an SSH session from Server1 to Server2 and sign in as User2. Which command should you run?
  • A. sshd Contoso\User2@Server2
  • B. ssh Contoso\User2@Server2 Correct
  • C. ssh Server2 Contoso\User2
  • D. sshd Server2 Contoso\User2

Explanation

The correct command to establish an SSH session from Server1 to Server2 and sign in as User2 is 'ssh Contoso\User2@Server2'. This uses the standard SSH syntax where 'Contoso\User2' specifies the user and domain, and '@Server2' indicates the target server.

Need the theory? Learn it free in the AZ-800 course on Godlike Academy

Practice the whole free set

AZ-800 is a free exam: all 300 questions with instant feedback, plus Learn and Exam modes and PDF export, free.