Passwordless SSH between the UCS and a remote Linux Server

1. On the remote Linux/Unix server create the user

useradd -m ucsuser -c “UCS user” -d /home/ucsuser

2. Change the directory permissions

chown ucsuser /home/ucsuser

3. Generate SSH key for the new user

ssh-keygen (accept defaults and leave passphrase empty)

4. Copy the public Key to a text file.

cd .ssh/

cat id_rsa.pub

5. SSH to the UCS Manager, at the CLI type the following commands

scope security

create local-user ucsuser

set password

6. Copy the Public Key obtained in step 4 and paste it into the CLI with inverted commas.

set sshkeyssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIEAuo9VQ2CmWBI9/S1f30klCWjnV3lgdXMzO0WUl5iPw85lkdQqap+NFuNmHcb4K

iaQB8X/PDdmtlxQQcawclj+k8f4VcOelBxlsGk5luq5ls1ob1VOIEwcKEL/h5lrdbNlI8y3SS9I/gGiBZ9ARlop9LDpD

m8HPh2LOgyH7Ei1MI8=

commit-buffer

Now you should be able to SSH from the remote linux server to the UCS without entering a password.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s