Skip to content

kampanaut/ssh-it

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

ssh-it (sshit)

This is just a simple zsh script that makes life easier for me

sourcing everytime you use it

make sure to source this script so that the changes are saved onto your terminal

source sshit

it will just show the status of the thing.

source sshit <arguments>

start — starts a new ssh-agent session if there are no sessions running

shutdown — closes and terminates the current session attached to your terminal

kill — kills multiple ssh-agent processes by number labels or pid number

add — load an identity key. you can put the filename inside the ~/.ssh or the number label as the argument. If you put nothing, a prompt chooser will show so that you can pick what you want to bother on.

pop — unload an identity key. you can do the arguments the same as add.

attach — you can attach a running ssh-agent by putting arguments of number labels or pid number. You can also put nothing and a prompt chooser will show for you to browse upon.

deattach — just remove the current ssh-agent attached on your terminal WITHOUT terminating it.

About

a zsh script for managing one or more ssh-agents, and loading and unloading ssh keys.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages