Skip to content

Latest commit

 

History

History
51 lines (34 loc) · 1.86 KB

SSH_Using_Key_Authentication_Help_Guide.md

File metadata and controls

51 lines (34 loc) · 1.86 KB

FormaServe - Using Key Authentication for SSH IBM i Help Guide

FormaServe Logo

This document shows useful commands for helping with using key authentication to automate signon to SSH sessions on IBM i

Our eLearning IBM i Training Examples

While you are here, why not visit our training videos, which can be found here

Useful Commands

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
- -

Links

Authors

FormaServe Systems Ltd - All work - FormaServe

Contributors

Andy Youens - FormaServe

Nick Youens - FormaServe

Acknowledgments

Andy Youens - FormaServe Systems Ltd - Twitter @AndyYouens

License

License