Automate ssh between different flavours of ssh

Hiya,

I want to automate ssh between two servers (Server A and Server B) and currently facing two problems.

I am able to automate ssh between same SSH versions but unable to do so for following conditions.

  1. SSH versions are different on Server A and Server B.
  2. Username is different on Server A and Server B.

The two versions of SSH i have are:

SSH Version on Server A is SSH Tectia Server 4.4.12 on powerpc-ibm-aix4.3.3.0

SSH Version on Server B is Reflection for Secure IT 6.1.4.0 (build 3197) on powerpc-ibm-aix5.3.0.0 (32-bit)

I presume we need to convert the keys but how?

When i try the ssh-keygen option, i can't find an option to convert Tectia ssh keys to reflection ssh or viceversa.

Stuck with these for over couple of weeks now. tried every option but could not find a solution. Any help would be very much appreciated.

Thanks,
Amit

Condition 2 is easy. The keys don't care what anyone's username is. Just copy the info per usual then ssh username@host

As for the incompatibilities, try DSA keys instead of RSA keys. Try ssh -vv for more debugging info.