Skip to content

Create SSH keys for authentication between source and target servers

License

Notifications You must be signed in to change notification settings

zavoraad/ssh-keygen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

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

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

Specify a different username for target server

[zavoraad@foo.com ~/]$ ./ssh_key_gen.sh aaron@bar.com
#<you'll enter target pw multiple times here> 
[zavoraad@foo.com ~/]$ ssh aaron@bar.com
[aaron@bar.com ~/]$ 

About

Create SSH keys for authentication between source and target servers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages