summaryrefslogtreecommitdiffstats
path: root/lib/aws_command.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/aws_command.rb')
-rw-r--r--lib/aws_command.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/aws_command.rb b/lib/aws_command.rb
index 1205fd5f7..17f33fbed 100644
--- a/lib/aws_command.rb
+++ b/lib/aws_command.rb
@@ -114,7 +114,7 @@ module OpenShift
desc "ssh", "Ssh to an instance"
def ssh(*ssh_ops, host)
- if host =~ /^([\w\d_.-]+)@([\w\d-_.]+)/
+ if host =~ /^([\w\d_.\-]+)@([\w\d\-_.]+)/
user = $1
host = $2
end