I am trying to establish passwordless connectivity between server A and server B, but unsuccessfuly, because I beleive two issues.
the first one is that on both servers, it is not possible to use root to login, it only allows to connect using a user (any) them
su - root, which in turns I am able to login. So I thought the
PermitRootLogin value was set to NO, but there is no file
/etc/ssh/sshd_config on the server.
The second issue is that even if I use the procedure in
SSH Passwordless Login Using SSH Keygen in 5 Easy Steps, is not allowing me to login with user root or any other user.
My ultimate goal is to use the tape device on server B to backup root file system of server A, using the following command:
ufsdump 0ucf serverB:/dev/rmt/0 /.
Initially I created a file
/etc/.rhosts on server B, and inserted hostname and user, but I was not able to use the
ufsdump command.