Connecting to the Oracle VM CLI (Command Line Interface) without password


Sometimes you need to work with the command line interface in OVM Manager, for instance if you want to execute several commands in parallel, and it is very hard and boring if you need to put the password each time:


Well, here I explain how to configure the access without put the password:

1) ssh


2) script


One of the most important parts in the script, is the last command (which remove the process ‘ssh-agent’ created at the beginning), without this command, the operating system would be slowed down accumulating the processes ‘ssh-agent’.


3) permissions


4) alias


The alias you can add it to the end of the file .bashrc into the $HOME for the user.


If you execute it, you gain access immediatly:


You can put commands directly in the OS prompt:


If you want configure the script for ‘oracle’ user, you can follow the same steps 🙂


Adding value with Arumel!!

%d bloggers like this: