This document shows useful commands for helping with using key authentication to automate signon to SSH sessions on IBM i
While you are here, why not visit our training videos, which can be found here
Command | Description |
---|---|
ls -ld /home/userID |
Show directory attributes on users home directory |
chown andy /home/userID |
Change owner of users home directory |
chmod 755 /home/userID |
Change authority of users home directory |
- | - |
ls -ld /home/userID/.ssh |
Show directory attributes on users home ssh directory |
chown andy /home/userID/.ssh |
Change owner of users home ssh directory |
chmod 700 /home/userID/.ssh |
Change authority of users home ssh directory |
- | - |
ls -ld /home/userID/.ssh/authorized_keys |
Show directory attributes on users authorised keys file |
chown andy /home/userID.ssh/authorized_keys |
Change owner of users authorised keys file |
chmod 600 /home/userID/.ssh/authorized_keys |
Change authority of users authorised keys file |
- | - |
FormaServe Systems Ltd - All work - FormaServe
Andy Youens - FormaServe
Nick Youens - FormaServe
Andy Youens - FormaServe Systems Ltd - Twitter @AndyYouens
- MIT license
- © 1990 - 2021 FormaServe Systems Ltd