hmngwy / weblog.sh

Blog from the Command Line
https://weblog.sh/
GNU General Public License v3.0
141 stars 8 forks source link

Wrong host printed out on registration #16

Closed OmgImAlexis closed 8 years ago

OmgImAlexis commented 8 years ago

Instead of listing the hostname of the server you're connected to it lists localhost. For example.

→ Account created, do not forget your password.
→ You can set your public key later using:

  ssh xo@localhost key $(cat ~/.ssh/id_rsa.pub)

→ By using this service you agree to our License, Terms of Service, and Privacy Policy.

  GPLV3 License: https://goo.gl/93VKiw
  Terms of Service: https://weblog.sh/terms
  Privacy Policy: https://weblog.sh/privacy

Connection to weblog.sh closed.

https://github.com/hmngwy/weblog.sh/blob/9e1005450fd560303993dcbc34d1491951b7de26/lib/ssh/shell.js#L102

hmngwy commented 8 years ago

Thanks @OmgImAlexis!