-
Notifications
You must be signed in to change notification settings - Fork 5
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
Add helper output for connecting after running add-to-ssh-agent #32
Commits on Mar 19, 2020
-
Add helper output for connecting after running add-to-ssh-agent
The function definition header has help how to connect to the server whose key we've added to the ssh-agent, on the other hand the tabular output is both different order and would still require knowledge of the ssh parameters. This change fills in the command with the server variables and adds some extra flags that help to be less noisy later: not adding the server's key to the known hosts file, and not checking the server's key. ``` Hostname Port Username 123.123.123.123 12345 faculty Connect to the server by: ssh [email protected] -p 12345 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no ``` It should work both on Linux/Mac and Windows as the relevant null device is substituted in the command example. Signed-off-by: Gergely Imreh <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4fedbb1 - Browse repository at this point
Copy the full SHA 4fedbb1View commit details -
Formatting changes, not connected to the main code, required by black
Signed-off-by: Gergely Imreh <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b651327 - Browse repository at this point
Copy the full SHA b651327View commit details -
Redo string output with format
Since older Pythons don't do f-strings, duh. Signed-off-by: Gergely Imreh <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d5da1d8 - Browse repository at this point
Copy the full SHA d5da1d8View commit details -
Update flake8 check to follow black's formatting
Otherwise can run into issues that black formats lines one way, but flake8 doesn't accept the formatting choices. Signed-off-by: Gergely Imreh <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fe1bfcb - Browse repository at this point
Copy the full SHA fe1bfcbView commit details -
Revert "Update flake8 check to follow black's formatting" due to Pyth…
…on 2 This reverts commit fe1bfcb.
Configuration menu - View commit details
-
Copy full SHA for 53d53d2 - Browse repository at this point
Copy the full SHA 53d53d2View commit details -
Simplify output formatting and linter setup.
Signed-off-by: Gergely Imreh <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a0209d7 - Browse repository at this point
Copy the full SHA a0209d7View commit details -
More formatting, as newer black does things differently.
Signed-off-by: Gergely Imreh <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2e8eec9 - Browse repository at this point
Copy the full SHA 2e8eec9View commit details
Commits on Mar 21, 2020
-
Remove ineffective flake8 setting, update grammar, reformat string
The awkward string formatting is necessary as `black` doesn't break long strings but `flake8` despises them. Signed-off-by: Gergely Imreh <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 90b46ff - Browse repository at this point
Copy the full SHA 90b46ffView commit details -
Instruct flake8 to ignore long line errors, and string formatting
Signed-off-by: Gergely Imreh <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1d6d9a9 - Browse repository at this point
Copy the full SHA 1d6d9a9View commit details -
Add another ignore to flake8, for usability and relying on black
Signed-off-by: Gergely Imreh <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ef3e309 - Browse repository at this point
Copy the full SHA ef3e309View commit details