If you are trying to do an SSH on your Linux/Unix System and you get ssh command not found on bash shell, then most likely you do not have ssh installed on your device, you can get it installed using package tool such as apt-get
Fix:# apt-get install ssh
Reading package lists... Done
Building dependency tree
Reading state information... Done
...
...
ssh installed newest version (1:8.2p1-4ubuntu0.4).
Now if you run ssh you will not get any error!
# ssh
usage: ssh [-46AaCfGgKkMNnqsTtVvXxYy] [-B bind_interface]
[-b bind_address] [-c cipher_spec] [-D [bind_address:]port]
[-E log_file] [-e escape_char] [-F configfile] [-I pkcs11]
[-i identity_file] [-J [user@]host[:port]] [-L address]
[-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p port]
[-Q query_option] [-R address] [-S ctl_path] [-W host:port]
[-w local_tun[:remote_tun]] destination [command]
More Posts related to Bash,
- Bash Hello World! Script Tutorial
- How to run bash command in background
- How to create new user account in Windows bash
- How to Compare Strings in Bash
- Bash: Allow Command to Fail without exiting Script
- Fix bash: script.sh: Permission denied Error
- Bash getopts Command Example
- How to fix bash ping command not found error
- How to add NewLine Character in Bash Script String
- How to Echo Bash Command to a File
- Bash Command to Find String in a File
- How to open new Terminal using Bash Command
- Bash How to Save Output of a Command to a Variable
- Download a SSL Certificate from a URL in Terminal
- Bash Command to Check IP Address
- Know Bash shell version command
- Bash Command To Check If File Exists
- How to run a Command in Bash Script
- How to Compare two Files in Bash Shell
- How to check if a variable is set in Bash Script or Not
- Convert String from uppercase to lowercase in Bash
- How to see Created Accessed Modified and Changed dates of a file using bash terminal command
- Bash Command To Get Current Time
- Bash command to List Files
- Fix: bash: syntax error near unexpected token
More Posts:
- jQuery: Check if an element exists or not - jQuery
- [Solution] Spring Tool Suite (STS) support for JSP (JAVA EE) - Eclipse
- Install Python on Alpine Linux - Docker - Docker
- YAML Parser using Java Jackson Library Example - Java
- How to Configure GitHub with Eclipse IDE in 2023 - Eclipse
- Java 8: Steam map with Code Examples - Java
- How to pretty print HTML using Java Code - Html
- [Fix] Microsoft Windows OneDrive 0x8007018b Error Code - Windows