Coder Social home page Coder Social logo

sash's People

Contributors

mmaday avatar ranw avatar uriagassi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

sash's Issues

ssh tunnels / gateway

Fantastic code... was building my own when stumbled across this.

We have tended to not allow ssh access into our ec2 instances from any external interface, forcing us to tunnel through a gateway. Any thoughts on how to add this to sash? I'd be up for taking a stab at it if you can point me where it might be added

Doesn't seem to work with ZSH

Just tried this with ZSH and got a bunch of errors:

sash:22: bad option: -a
_get_data:20: bad option: -a
_get_data:declare:21: no such variable: pems
_get_data:shift:6: shift count must be <= $#
_get_data:20: bad option: -a
_get_data:declare:21: no such variable: ips
_get_data:shift:6: shift count must be <= $#
_get_data:shift:6: shift count must be <= $#
_get_data:20: bad option: -a
_get_data:declare:21: no such variable: hosts
_get_data:shift:6: shift count must be <= $#
_get_data:shift:6: shift count must be <= $#
_get_data:shift:6: shift count must be <= $#
_get_data:20: bad option: -a
_get_data:declare:21: no such variable: resource_ids
_get_data:shift:6: shift count must be <= $#
_get_data:shift:6: shift count must be <= $#
_get_data:shift:6: shift count must be <= $#
_get_data:shift:6: shift count must be <= $#
_get_data:20: bad option: -a
_get_data:declare:21: no such variable: users
_get_data:shift:6: shift count must be <= $#
_get_data:shift:6: shift count must be <= $#
_get_data:shift:6: shift count must be <= $#
_get_data:shift:6: shift count must be <= $#
_get_data:shift:6: shift count must be <= $#
_get_data:20: bad option: -a
_get_data:declare:21: no such variable: private_ips
sash:31: bad substitution

(Bash works fine though.)

Use individual developer keys instead of AWS private keys

We're implementing some security practices to prevent sharing the AWS pem files among multiple users. We are putting public keys from our developers into the ~/.ssh/authorized_keys file.

So it would be an enhancement to use keys other than the AWS private pem files to connect. Would this be difficult or does sash already do this?

Add usage info

When running sash with no params it would be helpful to show a short help text (usage)

question on vpn connect

hi, wow this is a great piece of help; though I have 2 questions

*you say enable SASH_USE_VPN=true goes to private IP; I have so:

Dominiks-MacBook-Air:sash dsimm$ env | grep -i vpn
SASH_USE_VPN=true
Dominiks-MacBook-Air:sash dsimm$ clear_sash
Dominiks-MacBook-Air:sash dsimm$ sash production-main-ingestion
Connecting to production-main-ingestion (52.16.5.182)

I would expect a 10.x.x.x IP

2.) any chance to not use .pem files to connect? just with ssh private key?

connecting to demo-main-encoder (54.171.70.3)

  • ssh -i /Users/dsimm/.aws/kuba.pem [email protected]
    Warning: Identity file /Users/dsimm/.aws/kuba.pem not accessible: No such file or directory.

I don't have "kuba.pem" key this is the key of the person who set it up; but on the host itself my public key is there..

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.