SkillAgentSearch skills...

Sshify

Script for setting up publickey authentication on new hosts

Install / Use

/learn @jwiegley/Sshify
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

This script will setup public key authentication for a remote SSH host that you currently have password access to. The advantage to this somewhat complex method is that it only requires entering the password once to perform all the necessary operations. When complete, it will then log you in so you can poke around.

It support two modes, for example:

sshify root@192.168.217.132

If I also want to automagically add an alias to ~/.ssh/config for this host:

sshify root@192.168.217.132 centos

Later I can just 'ssh centos', and no passwords will be needed!

View on GitHub
GitHub Stars5
CategoryDevelopment
Updated1y ago
Forks2

Languages

Shell

Security Score

55/100

Audited on Jan 7, 2025

No findings