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,
- How to use Autocomplete and Autosuggestion in Shell Commands
- Bash How to Save Output of a Command to a Variable
- How to know the current shell you are logged in?
- How to Echo Bash Command to a File
- Bash Command to Get Absolute Path for a File
- How to Split a String based on Delimiter in Bash Scripting
- Bash: Command Line Arguments to Bash Script Examples
- Bash Command to Download a File From URL
- How to check if a Command Exists using Bash Script
- Ways to Increment a counter variable in Bash Script
- Know Bash shell version command
- Bash command to Read, Output and Manipulate JSON File
- Bash Command to Base64 Decode a String
- Bash Command to Check Python Version
- Bash: Command to Find the Length of a String
- What is $$ in Bash Shell Script- Special Variable
- Bash - How to check if a Command Failed?
- List all Username and User ID using Bash Command
- Command to Sort File In Reverse Order [Unix/Linux/macOS]
- bash: netstat: command not found
- Bash Command To Go Back To Previous Directory
- [Fix] bash: script.sh: /bin/bash^M: bad interpreter: No such file or directory
- How to check your IP using bash for Windows?
- Bash Command To Check If File Exists
- Convert String from uppercase to lowercase in Bash
More Posts:
- How to set background color for android layout pragmatically using java and through xml - Android
- How to update all installed packages at once in Ubuntu - Ubuntu
- How to know the Serial Number of MacBook on macOS Ventura 13.0 - MacOS
- How to know the Python Version of Jupyter Notebook - Python
- Health Status Page for OpenAI ChatGPT or GPT 4 - HowTos
- Maven : java.lang.ClassNotFoundException: Xmx512m - Android
- Manually Throw an Exception in Python (raise:) - Python
- Disable Chrome Notification bell from Mac OS X menu bar - Mac-OS-X