Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fall back to ssh_options[:user] if host.user.nil? #66

Merged
merged 1 commit into from
Oct 31, 2015

Commits on Oct 31, 2015

  1. Fall back to ssh_options[:user] if host.user.nil?

    Up until now Airbrussh has displayed the username using `host.name`. However,
    this may be `nil` in favor of using `ssh_options[:user]`. Use the SSH options
    in this case.
    
    If for some reason no user is specified with either method, then omit the `@`
    symbol and just print the hostname instead of `@hostname`.
    
    Addresses #65.
    mattbrictson committed Oct 31, 2015
    Configuration menu
    Copy the full SHA
    0944629 View commit details
    Browse the repository at this point in the history