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

[[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] ~/]$ 

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