All Projects → Ara4Sh → Sshconfig

Ara4Sh / Sshconfig

Minimal command to Add/Remove/list ssh aliases in $HOME/.ssh/config

Programming Languages

shell
77523 projects

Labels

Projects that are alternatives of or similar to Sshconfig

Sshremotekeys
Managing SSH keys remotely to control access to hosts
Stars: ✭ 70 (-24.73%)
Mutual labels:  ssh
Jjg Ansible Windows
[DEPRECATED] Windows shell provisioning script to bootstrap Ansible from within a Vagrant VM.
Stars: ✭ 82 (-11.83%)
Mutual labels:  ssh
Autossh
Heavily customizable AutoSSH Docker container
Stars: ✭ 86 (-7.53%)
Mutual labels:  ssh
Ansible Secure Ssh
The ansible playbook to improve the security of your SSH
Stars: ✭ 72 (-22.58%)
Mutual labels:  ssh
Awa Ssh
Purely functional SSH library in ocaml.
Stars: ✭ 80 (-13.98%)
Mutual labels:  ssh
Tomahawk
A simple ssh wrapper to execute commands into many hosts.
Stars: ✭ 83 (-10.75%)
Mutual labels:  ssh
Module Security Public
The public documentation for the gruntwork-io/module-security repo, which contains packages for setting up best practices for managing secrets, credentials, and servers
Stars: ✭ 67 (-27.96%)
Mutual labels:  ssh
Webssh2
Web SSH Client using ssh2, socket.io, xterm.js, and express. webssh webssh2
Stars: ✭ 1,293 (+1290.32%)
Mutual labels:  ssh
Paramgmt
A parallel SSH-based remote machine management system
Stars: ✭ 80 (-13.98%)
Mutual labels:  ssh
Castle Winbuntu
Homesick Castle for use on WSL.
Stars: ✭ 87 (-6.45%)
Mutual labels:  ssh
Kubectl Cssh
A kubectl plugin to ssh into Kubernetes nodes within separate tmux panes
Stars: ✭ 76 (-18.28%)
Mutual labels:  ssh
Alfred Ssh
SSH workflow for Alfred for Mac with powerful hostname expansion/completion
Stars: ✭ 78 (-16.13%)
Mutual labels:  ssh
Ssh Connect
🐙 simple ssh manager based on bash/zsh history
Stars: ✭ 86 (-7.53%)
Mutual labels:  ssh
Poet
Lets you split your ssh_config into separate files
Stars: ✭ 72 (-22.58%)
Mutual labels:  ssh
Paramikojs
port of the paramiko library from python->javascript
Stars: ✭ 89 (-4.3%)
Mutual labels:  ssh
Docker Cowrie
Cowrie Docker GitHub repository
Stars: ✭ 68 (-26.88%)
Mutual labels:  ssh
Monday
⚡️ A dev tool for microservice developers to run local applications and/or forward others from/to Kubernetes SSH or TCP
Stars: ✭ 1,246 (+1239.78%)
Mutual labels:  ssh
Daggy
Daggy - Data Aggregation Utility. Open source, free, cross-platform, server-less, useful utility for remote or local data aggregation and streaming
Stars: ✭ 91 (-2.15%)
Mutual labels:  ssh
Networkmanager
A powerful tool for managing networks and troubleshoot network problems!
Stars: ✭ 1,296 (+1293.55%)
Mutual labels:  ssh
Swiff
💁 Command line tools for common local ↔ remote server tasks.
Stars: ✭ 87 (-6.45%)
Mutual labels:  ssh

sshconfig : ssc

Minimal command to Add/Remove/list ssh aliases in $HOME/.ssh/config

to contribute please fork add your code and make a pull request. feel free to add something new and helpful

Installation

SSC is available on Linux , BSD and OSX

curl -L http://git.io/sshconfig | bash 

Usage

Add a Host(Alias) :

ssc add NAME USERNAME HOSTNAME [IdentityKey] [PORT]
ssc add NAME USERNAME HOSTNAME [PORT]
scc add NAME USERNAME HOSTNAME [IdentityKey]

PORT and Identitykey are optional , PORT is 22 by default and Identitykey is your ssh private key generating by ssh-keygen in $HOME/.ssh .

Example :

ssc add elastix root 192.168.0.100
ssc add nginx root 192.168.0.101 /home/arash/.ssh/arash.pem
ssc add aws-haproxy root 192.168.0.102 /home/arash/.ssh/arash2.pem 2223

Remove a Host(Alias) :

sshconfig remove NAME

Example :

ssc remove nginx
ssc remove aws-haproxy

List Existing Hosts(Aliases) :

List all Hosts(Aliases) :

ssc list

Show information for a Host(Alias) :

ssc list HOST

Example:

ssc list aws-haproxy
>> Host: aws-haproxy  HostName: 192.168.0.102  User: root  Port: 22   IdentityKey: /home/arash/.ssh/arash.pem

Search for a Host

ssc search haproxy
>> Host: haproxy-pars Hostname: 192.168.0.151 User: arash Port: 22 
>> Host: haproxy-afra Hostname: 192.168.1.151 User: arash Port: 22 
>> Host: aws-haproxy Hostname: 192.168.1.102 User: root Port: 22 

Connect to a Host

You can connect to a host if exist:

ssc aws-lsb

Edit a Host

Experimental feature

ssc edit nginx-front

Version and information

ssc version

Change log

Version 1.8:

  • New installer file
  • Edit option included (testing)
  • pretty output

To do:

Share config with other Administrators

ScreenShot

alt scrsht

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].