Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 993 Bytes

README.md

File metadata and controls

23 lines (19 loc) · 993 Bytes

SSH Public Key Authentication

Create SSH keys for authentication between source and target servers. Read more about this here

About

Creates the ability to auto-login via ssh between source and target server accounts in Linux. Your source account is your current login and your target account is specified as a parameter to the script. Note this will require multiple password logins to the target server to complete the setup

Examples

Simple key setup. Here without a target username specified it assumes your existing user ID

[[email protected] ~/]$ ./ssh_key_gen.sh bar.com
#<you'll enter target pw multiple times here> 
[[email protected] ~/]$ ssh bar.com
[[email protected] ~/]$ 

Specify a different username for target server

[[email protected] ~/]$ ./ssh_key_gen.sh [email protected]
#<you'll enter target pw multiple times here> 
[[email protected] ~/]$ ssh [email protected]
[[email protected] ~/]$