Linux and Tru64 - How to setup an SSH trust

Linux and Tru64 - How to setup an SSH trust

Description

This article details the operations needed to create an SSH trust between a Linux and a Tru64 server for the execution of remote commands from Linux to Tru64

Usage example: To perform a clean Tru64 system shutdown initiated by the charon server

Step-by-step guide


Notes

  • The prompts will tell you where to execute the commands, "Tru64#" (root user) or "Linux#"  (root user)
  • Remember Linux/Unix is case sensitive
  • If hosts are not known by each other, fill the /etc/hosts file for example (using vi for example)
  • linuxhost represents the name of your CHARON server (can be any name you want)
  • tru64host represents the hostname of your Tru64 virtual machine


  • Generate the key

Linux# cd /root/.ssh
Linux# ssh-keygen -t rsa

→ Do not specify a passphrase
Linux# ssh-keygen -e -f id_rsa.pub > linuxhost.pub


  • Copy the linuxhost.pub file, or use copy/paste, in the /.ssh2 folder on the Tru64 host

  • Define the authorization file:

Tru64# cd /.ssh2
Tru64# echo "Key linuxhost.pub" >> authorization


  • Initialize the first ssh connection (answer 'yes' to confirm)

    Linux# ssh tru64host date

    then retry the same command to verify the trust is working.


    (lightbulb) If an error occurs, you can check and clean the /root/.ssh/known_host file on the Linux host

HP - How to ssh from tru64 V5.1B to linux redhat

Tru64 UNIX: Enterprise UNIX for HP AlphaServer systems




© Stromasys, 1999-2025  - All the information is provided on the best effort basis, and might be changed anytime without notice. Information provided does not mean Stromasys commitment to any features described. 
Need fast, reliable migration? We have done it countless times. Talk to an expert