Editing Ssh (OpenSSH client)
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
{{lowercase}} | {{lowercase}} | ||
<code>ssh</code><ref>http://man7.org/linux/man-pages/man1/ssh.1.html</ref> is the [[OpenSSH]] [[ssh clients|ssh client]] for logging or executing commands into remote devices/machines | <code>ssh</code><ref>http://man7.org/linux/man-pages/man1/ssh.1.html</ref> is the [[OpenSSH]] [[ssh clients|ssh client]] for logging or executing commands into remote devices/machines | ||
− | * | + | |
+ | * https://linux.die.net/man/1/ssh | ||
* <code>[[ssh --help]]</code> | * <code>[[ssh --help]]</code> | ||
Line 9: | Line 10: | ||
[-W host:port] [-w local_tun[:remote_tun]] destination [command] | [-W host:port] [-w local_tun[:remote_tun]] destination [command] | ||
− | * <code>-X Enables X11 [[forwarding]]</code> | + | *<code>-X Enables X11 [[forwarding]]</code> |
− | * <code>-N Do not execute a | + | *<code>-N Do not execute a remote command. This is usefull for just [[forwarding]] ports</code> |
+ | |||
* <code>[[ssh -vvv]]</code> | * <code>[[ssh -vvv]]</code> | ||
* <code>[[ssh -V]]</code> | * <code>[[ssh -V]]</code> | ||
Line 17: | Line 19: | ||
* <code>ssh -o ConnectTimeout=100</code> | * <code>ssh -o ConnectTimeout=100</code> | ||
* <code>[[ssh -i]]</code> | * <code>[[ssh -i]]</code> | ||
− | |||
− | |||
Windows: Settings > Apps and click “Manage optional features” under Apps & features. | Windows: Settings > Apps and click “Manage optional features” under Apps & features. | ||
== Configuration == | == Configuration == | ||
− | * Configuration file: <code> | + | * Configuration file: <code>~/.ssh/[[config]]</code> |
− | |||
== Usage == | == Usage == | ||
− | * <code>[[ssh]] | + | * <code>[[ssh]] REMOTE_USERNAME@REMOTE_SERVER_NAME_OR_IP</code> |
− | |||
* <code>[[ssh -vvv]] REMOTE_USERNAME@REMOTE_SERVER_NAME_OR_IP</code> (<code>-v</code> increase verbosity, maximum 3) | * <code>[[ssh -vvv]] REMOTE_USERNAME@REMOTE_SERVER_NAME_OR_IP</code> (<code>-v</code> increase verbosity, maximum 3) | ||
** <code>[[ssh]] -vvv REMOTE_USERNAME@REMOTE_SERVER_NAME_OR_IP 2>&1 | grep "STRING_TO_SEARCH" </code> | ** <code>[[ssh]] -vvv REMOTE_USERNAME@REMOTE_SERVER_NAME_OR_IP 2>&1 | grep "STRING_TO_SEARCH" </code> | ||
Line 65: | Line 63: | ||
ssh -i id_ed25519_xxxxx SERVER_NAME | ssh -i id_ed25519_xxxxx SERVER_NAME | ||
− | * | + | * [[Unable to negotiate with]] ([[KexAlgorithms]]) |
== Activities == | == Activities == | ||
Line 72: | Line 70: | ||
* [[Execute a command in parallel by ssh]] | * [[Execute a command in parallel by ssh]] | ||
* <code>[[ssh]] -o [[PreferredAuthentications]]=keyboard-interactive -o [[PubkeyAuthentication]]=no host1.example.org</code> | * <code>[[ssh]] -o [[PreferredAuthentications]]=keyboard-interactive -o [[PubkeyAuthentication]]=no host1.example.org</code> | ||
− | |||
== Configuration == | == Configuration == | ||
* <code>[[CheckHostIP]]</code> | * <code>[[CheckHostIP]]</code> | ||
− | |||
− | |||
− | |||
− | |||
== See also == | == See also == |
Advertising: