Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
You need to add the public key of server 1 in the authorized_keys file(~/.ssh/authorized_keys) of the user you want to SSH into in server2.
You might also need to change security group rules to allow inbound traffic on the port SSH daemon is listening on(generally 22) in server 2.
© Linux Academy. All rights reserved.
Pinehead® and the Linux Academy logo® is the registered trademark of Linux Academy in the U.S. and other countries.
Linux® is the registered trademark of Linus Torvalds in the U.S. and other countries.