Skip to content
Oracle Analytics by Adrian Ward
Oracle Analytics by Adrian Ward

25 Years Experience and Counting

  • Analytics Performance
  • My Profile
  • Publications
  • 5 Minutes of Fame
  • News Posts
  • Technical Posts
Oracle Analytics by Adrian Ward

25 Years Experience and Counting

Setup Linux User

Posted on September 14, 2024March 11, 2025 By Adrian Ward

I am creating an ODI server, and the first task is to setup the linux user.

This post will show how to create a user and connect to it in MobaXterm using Keys.

The Tasks involved are:

  • Create the User
  • Set the Password
  • Login and Create the key file
  • Create the Keys (Private and Public)
  • Add the Public Key the key file
  • Create the Private Key
  • Use the Private key in Moba xTerm

Create the User

useradd -s /bin/bash -m -c "mobademo" mobademo

Set the Password

passwd mobademo

Login

Here I have created a session in MobaXterm, specifying the username

Now Create the .ssh Folder, and a file called authorized_keys

[mobademo@localhost ~]$ mkdir .ssh
[mobademo@localhost ~]$ chmod 700 .ssh
[mobademo@localhost ~]$ cd .ssh
[mobademo@localhost ~]$ vi authorized_keys

Now create the key in Moba Key Gen

Click on Generate

Keep the Defaults

You can now save the Private in the Generator (for example to D:\demokey.ppk)

Now copy the Public key generated

And paste into the authorized_keys file

Now change the settings on the file to make it secure

[mobademo@localhost .ssh]$ chmod 600 authorized_keys

Now update the session setting to use the private key

I did record myself in a video doing this!

Share this:

  • Facebook
  • X
Oracle Analytics Technical Linux

Post navigation

Previous post
Next post
©2025 Oracle Analytics by Adrian Ward | WordPress Theme by SuperbThemes