Skip to content

Commit

Permalink
added instructions for using ACS to copy public key
Browse files Browse the repository at this point in the history
  • Loading branch information
pbehr-cambro committed Jun 26, 2019
1 parent ce0f2bb commit 23f11ef
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,25 @@ Press Enter twice to leave the passphrase blank
> `-f ~/.ssh/id_rsa-ocean-ssh` specifies the filename of the key
### Copy your public SSH key to IBM i

#### SSH copy
If password authentication is allowed you can copy your public key using SSH.
Enter the following command to copy your public key to the OC Skunks IBM i:
`$ ssh-copy-id -i ~/.ssh/id_rsa-ocean-ssh %%IBM i Profile%%@OCSKUNKS.oceanusergroup.org`
When prompted, enter your IBM i password.
> `ssh-copy-id` is the command to run (copy id)
> `-i ~/.ssh/id_rsa-ocean-ssh` specifies the identity file
> `[email protected]` is the user and remote server
#### ACS
You can use ACS to copy your public key to IBM i.
Open System Configurations, highlight your system, and press Edit.
Select the SSH Key setup tab, and press the "Copy SSH key(s) to server" button.

#### Other
Use RDi, nano, or some other editor to add the public key to the authorized_keys file on the server.
The authorized_keys file is located here: /home/YOUR_PROFILE/.ssh

### Test the SSH connection
Enter the following command to create an SSH connection to the OC Skunks IBM i:
`$ ssh %%IBM i User%%@OCSKUNKS.oceanusergroup.org -i ~/.ssh/id_rsa-ocean-ssh`
Expand Down

0 comments on commit 23f11ef

Please sign in to comment.