Skip to content

Conversation

@aliasofsyn
Copy link

Problem:
Trailing white spaces when entering IP address for a remote server doesn't allow it to actually connect, and causes issues for the user.

Here is a Mal formated remote server with leading white spaces
image

it ends up failing when we try to ssh into it

image

Our solution:

Add .trim() to the ip_address when it gets submited by the frontend. The video shows a walk through of a fixed version, and where we ended up changing the code. https://cap.so/s/efqrfeyj84twtgb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant