New
Test an SSH Connection Without Opening a Shell
Confirms the key is accepted and exits, instead of leaving you in a session.
GitHub answers with a greeting naming your account and closes the connection, which is success, not an error.
When you need this: Right after adding a key to a server or to GitHub, to confirm it works before relying on it.
Variables
Command
2 views
0 copies
Related in this category
Log in to save
Free account. Save snippets into your own collections.