All Projects → msimerson → ssh-agent

msimerson / ssh-agent

Licence: MIT license
A shell script that loads ssh-agent and keys into each terminal session of a workstation

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to ssh-agent

CIS-for-macOS-High-Sierra
No description or website provided.
Stars: ✭ 15 (+0%)
Mutual labels:  macosx
blessclient
Go client to negotiate SSH certificates
Stars: ✭ 58 (+286.67%)
Mutual labels:  ssh-agent
PrincekinKlineFrame
一款用Swift开发的K线图和深度图组件,具有轻量、敏捷等特点,可供虚拟货币行业和金融行业使用
Stars: ✭ 72 (+380%)
Mutual labels:  macosx
GLPT
GLPT :: OpenGL Pascal Toolkit. A multi-platform library for OpenGL and OpenGL ES
Stars: ✭ 26 (+73.33%)
Mutual labels:  macosx
Ambar-Xamarin
A macOS Menu Bar app built with Xamarin and C#
Stars: ✭ 63 (+320%)
Mutual labels:  macosx
stinsen
Coordinators in SwiftUI. Simple, powerful and elegant.
Stars: ✭ 563 (+3653.33%)
Mutual labels:  macosx
di
[D]ownload and [I]nstall Mac apps
Stars: ✭ 52 (+246.67%)
Mutual labels:  macosx
klatexformula
Generate images from LaTeX equations that you can drag and drop, copy and paste or save to disk.
Stars: ✭ 70 (+366.67%)
Mutual labels:  macosx
picosdk-c-examples
A set of C/C++ examples for PicoScope® oscilloscope and PicoLog® data logger products.
Stars: ✭ 37 (+146.67%)
Mutual labels:  macosx
nvim
Repository for the Tandem NeoVim Plugin
Stars: ✭ 23 (+53.33%)
Mutual labels:  macosx
WeChatWork-MacOS
企业微信小助手
Stars: ✭ 27 (+80%)
Mutual labels:  macosx
iOS-AirPrint-for-Mac
enable iOS Airprint Sharing on Mac OS
Stars: ✭ 24 (+60%)
Mutual labels:  macosx
sloth-app
Sloth desktop app
Stars: ✭ 16 (+6.67%)
Mutual labels:  macosx
win-gpg-agent
[DEPRECATED] Windows helpers for GnuPG tools suite
Stars: ✭ 214 (+1326.67%)
Mutual labels:  ssh-agent
ssh-agent-cmd
Script for Windows Command Processor (cmd.exe) to run ssh-agent
Stars: ✭ 40 (+166.67%)
Mutual labels:  ssh-agent
SandboxMirror
Tool for reverse-engineering Apple's sandbox
Stars: ✭ 49 (+226.67%)
Mutual labels:  macosx
blade runner
Blade Runner is a Jamf Pro based Python application that automates and implements a framework to offboard, secure erase and document deprecated Mac systems.
Stars: ✭ 24 (+60%)
Mutual labels:  macosx
AwsTerm
A collection of awesome terminal utilities
Stars: ✭ 37 (+146.67%)
Mutual labels:  macosx
careful rm
A safe wrapper for rm that adds useful warnings and an optional recycle/trash mode
Stars: ✭ 22 (+46.67%)
Mutual labels:  macosx
MarvelForKeynote
Sync your Keynote file to Marvel
Stars: ✭ 16 (+6.67%)
Mutual labels:  macosx

ssh-agent

A shell script that autoloads the ssh-agent and keys into each terminal session of a workstation, significantly reducing the complexity of using ssh-agent.

Used and tested on Mac OS X, FreeBSD, and Linux computers. Should work on any UNIXy host with OpenSSH installed.

INSTALL

1. Install to $HOME/.ssh directory as agent.sh

curl -L -o ~/.ssh/agent.sh https://github.com/msimerson/ssh-agent/raw/master/agent.sh
chmod 755 ~/.ssh/agent.sh

2. Run it when new terminal windows open

bash

echo 'source .ssh/agent.sh' >> ~/.bash\_profile

zsh

echo '.ssh/agent.sh' >> ~/.zprofile

3. Open new terminal/shell sessions

4. Enjoy

SSH-AGENT SOCKET

Setting _sockfile is an efficiency improvement. Rather than storing the ssh socket file in /tmp/ssh-XXXXXXXXXX/agent. and having to glob to find it, we can store it in a fixed location so this script can find it more efficiently. Since all our shell/terminal windows will share the first ssh-agent process, there is no need for the random location.

If you decide to alter the location, keep security in mind. You do not want others to have access to this socket. Your ~/.ssh directory is a great choice because its default permissions (600) are readable only by you.

If you wish to keep the default /tmp behavior, comment out the _sockfile setting.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].