Skip to main content

aws_ssh_config generates ssh config file content from given AWS account

Project description

Autocomplete SSH hosts for AWS

Setup autocompletion

To get it working you need to install bash-completion and boto3 python library.

On MacOS X run:

$ brew install bash-completion
$ pip install boto3 awscli
$ aws configure

Enter your credentials to get access to the AWS API.

Or you can use environment variables.

Create symlink to .ssh_autocompletion file in your home folder:

$ ln -sf  $(pwd)/.bash_autocompletion ~/

Import .bash_autocompletion in your ~/.bashrc:

$ echo 'source ~/.bash_autocompletion' >> ~/.bashrc
$ . ~/.bash.rc


The easiest way to install aws_ssh_config is to use pip:

$ pip install aws_ssh_config

or from sources:

$ git clone
$ cd aws_ssh_config
$ python3 install

Generating/updating ssh config

Create for ssh config.d folder:

$ mkdir -p ~/.ssh/config.d

To generate or update ssh config for AWS hosts run:

aws_ssh_config > ~/.ssh/config.d/aws


To test autocompletion enter in terminal:

$ ssh host_[TAB]

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for aws-ssh-config, version 0.1.4
Filename, size File type Python version Upload date Hashes
Filename, size aws_ssh_config-0.1.4-py3-none-any.whl (3.7 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size aws_ssh_config-0.1.4.tar.gz (2.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page