#bastion - April 2019

bastionArchived
41 messages

Discuss cloudposse/bastion

Paul Calabro
Paul Calabroover 7 years ago
@Paul Calabro has joined the channel
Paul Calabro
Paul Calabroover 7 years ago
so erik, what are your thoughts on that?
Paul Calabro
Paul Calabroover 7 years ago
(from the other channel)
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
So this would be a problem if the person’s workstation were compromised, no?
Paul Calabro
Paul Calabroover 7 years ago
correct
Paul Calabro
Paul Calabroover 7 years ago
with those kinds of settings in place, 2FA is only prompted on the first attempt
Paul Calabro
Paul Calabroover 7 years ago(edited)
i was trying to think of an fun analogy and the best i could come up with is someone using a door wedge, haha
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
True it is like a door wedge
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
But the same thing exists with ssh agents
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
And sockets
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
I am not averse to adding support to optionally disabling these settings
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
Not sure what the default should be
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
Often times, if the bad actor has control of the workstation all bets are off
Paul Calabro
Paul Calabroover 7 years ago
yeah, those are all good points. i think the bastion is a little unique though in that you're not just using your keys you've already added to the ssh agent. you're also using push notification/sms/etc as that second factor...however, those gets bypass completely in this scenario.
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
Yea true
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
What if we had some SSH server config profiles? E.g. configs with an extension
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
When starting the container we install one of those config profiles
Paul Calabro
Paul Calabroover 7 years ago
yeah, i was thinking of that as well. i use configs in my docker compose file to mount files.
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
One profile could be the one you suggest and maybe we make that default
Paul Calabro
Paul Calabroover 7 years ago
that works
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
If you want to open a PR for that we will promptly review
Paul Calabro
Paul Calabroover 7 years ago
i came across this accidentally and just thought i'd share b/c it seems like an interesting way to misuse an ssh feature
Paul Calabro
Paul Calabroover 7 years ago
sweet! thanks!
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
Yea makes sense
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
It’s a very popular repo and #1 search result
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
So we should make it as locked down as possible
Paul Calabro
Paul Calabroover 7 years ago
yeah, i'm a fan of this project 🙂
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
Very cool!
Paul Calabro
Paul Calabroover 7 years ago
it's good stuff!
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
If you have a chance to audit our scripts in that project, that would be appreciated as well
Paul Calabro
Paul Calabroover 7 years ago
yeah, i'd be happy to take a look
Bruce
Bruceover 7 years ago
@Bruce has joined the channel
Mahmoud Dolah
Mahmoud Dolahover 7 years ago
@Mahmoud Dolah has joined the channel
Vidhi Virmani
Vidhi Virmaniover 7 years ago
@Vidhi Virmani has joined the channel
kskewes
kskewesover 7 years ago
@kskewes has joined the channel
rontron
rontronover 7 years ago
@rontron has joined the channel
xluffy
xluffyover 7 years ago
bastion is a jump host
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
( I am out of town, will check on Monday! Thanks @oscarsullivan_old )
joshmyers
joshmyersover 7 years ago
@joshmyers has joined the channel
mohamed.naseer
mohamed.naseerover 7 years ago
@mohamed.naseer has joined the channel