title: Setting up passwordless authentication from one host to another
body: <p>I am trying to set up passwordless authentication from one host to another. Below is the scenario:</p>
  
  <p>User A has access to Host A (Windows Server).
  User B has access to Host B (Unix Server) (Not direct access. You need to login to the host under a different account then su to User B)</p>
  
  <p>I would like to know if it's possible to set up passwordless authentication for Host A to connect to Host B as User B? </p>
  
  <p>I have tried to get the public key from Host A and add it to the authorized_keys (.../.ssh/authorized_keys) file. I have checked permissions on authorized_keys is 600 and on .ssh is 700.</p>
  
  <p>Contents of authorized_keys is as follows:</p>
  
  <p>---- BEGIN SSH2 PUBLIC KEY ----
  ssh-rsa AAAAB3NzaC1yc2EAAAABJQCCCIEAwc4rPjPeehHYe1VmUX4/X8pZwtqBawwD56Ksfi3wlEiM
  ZlbO1kH1a+eBAC51aWgYbuAiKsLCaVVtZKx0ArcfJzWvnO36VpHGYxPEMpBG/YzoxVwh5WL2DUNijJ1/
  ZePAeayg/4RvBp2y9Ds1TQB29Oe3tTVeRTY3eUky4zSWEQE== UserA@HostA
  01
  ---- END SSH2 PUBLIC KEY ----</p>
  
  <p>I have tried a few combinations of User@host in the file including userB@hostB but to no avail.</p>
  
  <p>Could someone please advise if I'm attempting something that's perhaps not possible (could be I'm not doing it right)? Or if there is anything I'm missing?</p>
  
  <p>Any help would be much appreciated. Thanks.</p>